Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -15,7 +15,7 @@ class BasicAgent:
|
|
| 15 |
|
| 16 |
def __call__(self, task: dict) -> str:
|
| 17 |
try:
|
| 18 |
-
response = self.agent(task)
|
| 19 |
return response
|
| 20 |
except Exception as e:
|
| 21 |
print(f"Error is raised: {str(e)}")
|
|
|
|
| 15 |
|
| 16 |
def __call__(self, task: dict) -> str:
|
| 17 |
try:
|
| 18 |
+
response = self.agent.run(task)
|
| 19 |
return response
|
| 20 |
except Exception as e:
|
| 21 |
print(f"Error is raised: {str(e)}")
|