Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,6 @@ from smolagents import Tool, FinalAnswerTool, ToolCallingAgent, DuckDuckGoSearch
|
|
| 5 |
import datetime
|
| 6 |
import requests
|
| 7 |
import pytz
|
| 8 |
-
import yaml
|
| 9 |
from tools.final_answer import FinalAnswerTool
|
| 10 |
from Gradio_UI import GradioUI
|
| 11 |
|
|
@@ -57,7 +56,7 @@ model = LiteLLMModel(
|
|
| 57 |
)
|
| 58 |
|
| 59 |
agent = ToolCallingAgent(
|
| 60 |
-
tools=[sum_tool, sub_tool, multiply_tool
|
| 61 |
model=model,
|
| 62 |
max_steps=3
|
| 63 |
)
|
|
|
|
| 5 |
import datetime
|
| 6 |
import requests
|
| 7 |
import pytz
|
|
|
|
| 8 |
from tools.final_answer import FinalAnswerTool
|
| 9 |
from Gradio_UI import GradioUI
|
| 10 |
|
|
|
|
| 56 |
)
|
| 57 |
|
| 58 |
agent = ToolCallingAgent(
|
| 59 |
+
tools=[sum_tool, sub_tool, multiply_tool],
|
| 60 |
model=model,
|
| 61 |
max_steps=3
|
| 62 |
)
|