Spaces:
Build error
Build error
Create tools.py
Browse files
tools.py
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
from smolagents import DuckDuckGoSearchTool, SpeechToTextTool, PythonInterpreterTool
|
| 2 |
+
|
| 3 |
+
search_tool = DuckDuckGoSearchTool()
|
| 4 |
+
|
| 5 |
+
speech_to_text = SpeechToTextTool()
|
| 6 |
+
|
| 7 |
+
python_interpreter = PythonInterpreterTool()
|