Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -1,9 +1,7 @@
|
|
| 1 |
-
import gradio as gr
|
| 2 |
-
from smolagents import CodeAgent, CodeInterpreterTool, HfApiModel
|
| 3 |
-
|
| 4 |
import smolagents
|
| 5 |
print("Smolagents version:", smolagents.__version__)
|
| 6 |
-
|
|
|
|
| 7 |
# Build agent
|
| 8 |
agent = CodeAgent(
|
| 9 |
tools=[CodeInterpreterTool()],
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
import smolagents
|
| 2 |
print("Smolagents version:", smolagents.__version__)
|
| 3 |
+
import gradio as gr
|
| 4 |
+
from smolagents import CodeAgent, CodeInterpreterTool, HfApiModel
|
| 5 |
# Build agent
|
| 6 |
agent = CodeAgent(
|
| 7 |
tools=[CodeInterpreterTool()],
|