Spaces:
Running
Running
Fixed import (app not a module, thus absolute and not relative import)
Browse files
app.py
CHANGED
|
@@ -7,7 +7,7 @@ from smolagents import GradioUI, CodeAgent, HfApiModel
|
|
| 7 |
|
| 8 |
# Import our custom tools from their modules
|
| 9 |
from tools import WeatherInfoTool, HubStatsTool#, DuckDuckGoSearchTool
|
| 10 |
-
from
|
| 11 |
from retriever import load_guest_dataset
|
| 12 |
|
| 13 |
# Initialize the Hugging Face model
|
|
|
|
| 7 |
|
| 8 |
# Import our custom tools from their modules
|
| 9 |
from tools import WeatherInfoTool, HubStatsTool#, DuckDuckGoSearchTool
|
| 10 |
+
from websearch import CustomDuckDuckGoSearchTool as DuckDuckGoSearchTool
|
| 11 |
from retriever import load_guest_dataset
|
| 12 |
|
| 13 |
# Initialize the Hugging Face model
|