Spaces:
Building
Building
Update agent.py
Browse files
agent.py
CHANGED
@@ -67,6 +67,7 @@ import whisper
|
|
67 |
# tools=[],
|
68 |
# model=model,
|
69 |
# max_steps=10,
|
|
|
70 |
# verbosity_level=2
|
71 |
# )
|
72 |
#
|
@@ -145,7 +146,9 @@ class MagAgent:
|
|
145 |
# ImageAnalysisTool,
|
146 |
SpeechToTextTool
|
147 |
# LocalFileAudioTool()
|
148 |
-
]
|
|
|
|
|
149 |
)
|
150 |
print("MagAgent initialized.")
|
151 |
|
|
|
67 |
# tools=[],
|
68 |
# model=model,
|
69 |
# max_steps=10,
|
70 |
+
|
71 |
# verbosity_level=2
|
72 |
# )
|
73 |
#
|
|
|
146 |
# ImageAnalysisTool,
|
147 |
SpeechToTextTool
|
148 |
# LocalFileAudioTool()
|
149 |
+
],
|
150 |
+
verbosity_level=2,
|
151 |
+
max_steps=10
|
152 |
)
|
153 |
print("MagAgent initialized.")
|
154 |
|