Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
from smolagents import CodeAgent, LiteLLMModel, tool, load_tool, DuckDuckGoSearchTool, WikipediaSearchTool #, HfApiModel, OpenAIServerModel
|
| 2 |
import asyncio
|
| 3 |
import os
|
| 4 |
import re
|
|
@@ -9,6 +9,7 @@ import yaml
|
|
| 9 |
from PIL import Image
|
| 10 |
import requests
|
| 11 |
from io import BytesIO
|
|
|
|
| 12 |
import whisper
|
| 13 |
|
| 14 |
# Simulated additional tools (implementation depends on external APIs or setup)
|
|
|
|
| 1 |
+
from smolagents import CodeAgent, LiteLLMModel, tool, Tool, `load_tool, DuckDuckGoSearchTool, WikipediaSearchTool #, HfApiModel, OpenAIServerModel
|
| 2 |
import asyncio
|
| 3 |
import os
|
| 4 |
import re
|
|
|
|
| 9 |
from PIL import Image
|
| 10 |
import requests
|
| 11 |
from io import BytesIO
|
| 12 |
+
|
| 13 |
import whisper
|
| 14 |
|
| 15 |
# Simulated additional tools (implementation depends on external APIs or setup)
|