Xylor commited on
Commit
de34c00
·
verified ·
1 Parent(s): e5487db

Fixed import (app not a module, thus absolute and not relative import)

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 .websearch import CustomDuckDuckGoSearchTool as DuckDuckGoSearchTool
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