Spaces:
Sleeping
Sleeping
Update main.py
Browse files
main.py
CHANGED
|
@@ -3,7 +3,7 @@ from smolagents import LiteLLMModel, CodeAgent, WebSearchTool, GradioUI, Tool, T
|
|
| 3 |
model = LiteLLMModel(model_id="groq/llama-3.3-70b-versatile")
|
| 4 |
|
| 5 |
|
| 6 |
-
weather_tool = load_tool("ngandugilbert/weather_tool",
|
| 7 |
|
| 8 |
image_generation_tool = Tool.from_space(
|
| 9 |
"black-forest-labs/FLUX.1-schnell",
|
|
|
|
| 3 |
model = LiteLLMModel(model_id="groq/llama-3.3-70b-versatile")
|
| 4 |
|
| 5 |
|
| 6 |
+
weather_tool = load_tool("ngandugilbert/weather_tool", trust_remote_code=True)
|
| 7 |
|
| 8 |
image_generation_tool = Tool.from_space(
|
| 9 |
"black-forest-labs/FLUX.1-schnell",
|