Spaces:
Runtime error
Runtime error
add VisitWebpageTool
Browse files
app.py
CHANGED
@@ -4,6 +4,7 @@ import requests
|
|
4 |
import pytz
|
5 |
import yaml
|
6 |
from tools.final_answer import FinalAnswerTool
|
|
|
7 |
|
8 |
from Gradio_UI import GradioUI
|
9 |
|
@@ -61,6 +62,7 @@ agent = CodeAgent(
|
|
61 |
extract_char,
|
62 |
get_current_time_in_timezone,
|
63 |
DuckDuckGoSearchTool(),
|
|
|
64 |
image_generation_tool,
|
65 |
final_answer
|
66 |
], ## add your tools here (don't remove final answer)
|
|
|
4 |
import pytz
|
5 |
import yaml
|
6 |
from tools.final_answer import FinalAnswerTool
|
7 |
+
from tools.visit_webpage import VisitWebpageTool
|
8 |
|
9 |
from Gradio_UI import GradioUI
|
10 |
|
|
|
62 |
extract_char,
|
63 |
get_current_time_in_timezone,
|
64 |
DuckDuckGoSearchTool(),
|
65 |
+
VisitWebpageTool(),
|
66 |
image_generation_tool,
|
67 |
final_answer
|
68 |
], ## add your tools here (don't remove final answer)
|