parent
80c6897c93
commit
5e9994bf85
1 changed files with 3 additions and 6 deletions
|
|
@ -8,12 +8,9 @@ from langflow.schema import Data
|
||||||
|
|
||||||
|
|
||||||
class PythonREPLComponent(Component):
|
class PythonREPLComponent(Component):
|
||||||
display_name = "Python REPL"
|
display_name = "Python Interpreter"
|
||||||
description = (
|
description = "Run Python code with optional imports. Use print() to see the output."
|
||||||
"A Python code executor that lets you run Python code with specific imported modules. "
|
icon = "square-terminal"
|
||||||
"Remember to always use print() to see your results. Example: print(df.head())"
|
|
||||||
)
|
|
||||||
icon = "Python"
|
|
||||||
|
|
||||||
inputs = [
|
inputs = [
|
||||||
StrInput(
|
StrInput(
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue