Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,8 +3,6 @@ import random
|
|
3 |
from smolagents import GradioUI, CodeAgent, InferenceClientModel
|
4 |
from smolagents import LiteLLMModel
|
5 |
from smolagents import ToolCallingAgent, PythonInterpreterTool
|
6 |
-
|
7 |
-
agent = ToolCallingAgent(tools=[PythonInterpreterTool()], model=model, system_prompt=modified_prompt)
|
8 |
import os
|
9 |
from PIL import Image
|
10 |
#from smolagents.src.smolagents.prompts
|
|
|
3 |
from smolagents import GradioUI, CodeAgent, InferenceClientModel
|
4 |
from smolagents import LiteLLMModel
|
5 |
from smolagents import ToolCallingAgent, PythonInterpreterTool
|
|
|
|
|
6 |
import os
|
7 |
from PIL import Image
|
8 |
#from smolagents.src.smolagents.prompts
|