Spaces:
Runtime error
Runtime error
Update main.py
Browse files
main.py
CHANGED
|
@@ -43,7 +43,7 @@ class CodeExecutionResult:
|
|
| 43 |
API_URL = "https://pvanand-code-execution-files-v5.hf.space"
|
| 44 |
|
| 45 |
@tool
|
| 46 |
-
def execute_python(code: str
|
| 47 |
"""Execute Python code in an IPython interactiveshell and return the output.
|
| 48 |
The returned artifacts (if present) are automatically rendered in the UI and visible to the user.
|
| 49 |
Args:
|
|
|
|
| 43 |
API_URL = "https://pvanand-code-execution-files-v5.hf.space"
|
| 44 |
|
| 45 |
@tool
|
| 46 |
+
def execute_python(code: str):
|
| 47 |
"""Execute Python code in an IPython interactiveshell and return the output.
|
| 48 |
The returned artifacts (if present) are automatically rendered in the UI and visible to the user.
|
| 49 |
Args:
|