Update app.py
Browse files
app.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
-
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool
|
2 |
import datetime
|
3 |
import pytz
|
4 |
-
|
5 |
from tools.final_answer import FinalAnswerTool
|
6 |
from Gradio_UI import GradioUI
|
7 |
from transformers import pipeline
|
@@ -61,3 +61,4 @@ agent = CodeAgent(
|
|
61 |
|
62 |
# Launch the Agent UI
|
63 |
GradioUI(agent).launch()
|
|
|
|
1 |
+
from smolagents import CodeAgent, DuckDuckGoSearchTool, HfApiModel, load_tool
|
2 |
import datetime
|
3 |
import pytz
|
4 |
+
yaml
|
5 |
from tools.final_answer import FinalAnswerTool
|
6 |
from Gradio_UI import GradioUI
|
7 |
from transformers import pipeline
|
|
|
61 |
|
62 |
# Launch the Agent UI
|
63 |
GradioUI(agent).launch()
|
64 |
+
|