Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -46,9 +46,9 @@ class BasicAgent:
|
|
| 46 |
return answer
|
| 47 |
|
| 48 |
def __call__(self, question: str) -> str:
|
| 49 |
-
|
| 50 |
#return self.run(question)
|
| 51 |
-
return self.agent.run(question)
|
| 52 |
|
| 53 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 54 |
"""
|
|
|
|
| 46 |
return answer
|
| 47 |
|
| 48 |
def __call__(self, question: str) -> str:
|
| 49 |
+
return asyncio.run(self.run(question))
|
| 50 |
#return self.run(question)
|
| 51 |
+
#return self.agent.run(question)
|
| 52 |
|
| 53 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 54 |
"""
|