Spaces:
Sleeping
Sleeping
Changed to ApiModel from HfApiModel
Browse files
app.py
CHANGED
|
@@ -1,6 +1,7 @@
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
-
from smolagents import GradioUI, CodeAgent, HfApiModel
|
|
|
|
| 4 |
|
| 5 |
# Import our custom tools from their modules
|
| 6 |
from tools import DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
|
|
|
|
| 1 |
import gradio as gr
|
| 2 |
import random
|
| 3 |
+
#from smolagents import GradioUI, CodeAgent, HfApiModel
|
| 4 |
+
from smolagents import GradioUI, CodeAgent, ApiModel # Changed from HfApiModel
|
| 5 |
|
| 6 |
# Import our custom tools from their modules
|
| 7 |
from tools import DuckDuckGoSearchTool, WeatherInfoTool, HubStatsTool
|