Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -10,10 +10,13 @@ from tools.visit_webpage import VisitWebpageTool
|
|
| 10 |
|
| 11 |
from Gradio_UI import GradioUI
|
| 12 |
|
|
|
|
|
|
|
| 13 |
# Initialize tools
|
| 14 |
final_answer = FinalAnswerTool()
|
| 15 |
web_search = DuckDuckGoSearchTool()
|
| 16 |
visit_webpage = VisitWebpageTool()
|
|
|
|
| 17 |
# Initialize model with alternative endpoint
|
| 18 |
model = HfApiModel(
|
| 19 |
max_tokens=2096,
|
|
|
|
| 10 |
|
| 11 |
from Gradio_UI import GradioUI
|
| 12 |
|
| 13 |
+
@tool
|
| 14 |
+
|
| 15 |
# Initialize tools
|
| 16 |
final_answer = FinalAnswerTool()
|
| 17 |
web_search = DuckDuckGoSearchTool()
|
| 18 |
visit_webpage = VisitWebpageTool()
|
| 19 |
+
|
| 20 |
# Initialize model with alternative endpoint
|
| 21 |
model = HfApiModel(
|
| 22 |
max_tokens=2096,
|