Update app.py
Browse files
app.py
CHANGED
@@ -5,7 +5,6 @@ import requests
|
|
5 |
import pytz
|
6 |
import yaml
|
7 |
from tools.final_answer import FinalAnswerTool
|
8 |
-
from tools.web_search import WebSearchTool
|
9 |
|
10 |
from Gradio_UI import GradioUI
|
11 |
|
@@ -78,7 +77,7 @@ with open("prompts.yaml", 'r') as stream:
|
|
78 |
|
79 |
agent = CodeAgent(
|
80 |
model=model,
|
81 |
-
tools=[final_answer,get_current_time_in_timezone,receipt,
|
82 |
max_steps=6,
|
83 |
verbosity_level=1,
|
84 |
grammar=None,
|
|
|
5 |
import pytz
|
6 |
import yaml
|
7 |
from tools.final_answer import FinalAnswerTool
|
|
|
8 |
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
|
|
77 |
|
78 |
agent = CodeAgent(
|
79 |
model=model,
|
80 |
+
tools=[final_answer,get_current_time_in_timezone,receipt,image_generation_tool], ## add your tools here (don't remove final answer)
|
81 |
max_steps=6,
|
82 |
verbosity_level=1,
|
83 |
grammar=None,
|