Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,12 +44,9 @@ class BasicAgent:
|
|
| 44 |
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
#return asyncio.run(self.run(question))
|
| 47 |
-
return self.
|
| 48 |
-
#
|
| 49 |
-
|
| 50 |
-
#fixed_answer = self.llamaindex_agent.run(question)
|
| 51 |
-
#print(f"Agent returning fixed answer: {fixed_answer}")
|
| 52 |
-
#return fixed_answer
|
| 53 |
|
| 54 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 55 |
"""
|
|
|
|
| 44 |
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
#return asyncio.run(self.run(question))
|
| 47 |
+
return self.run(question)
|
| 48 |
+
#return self.agent.run(question)
|
| 49 |
+
|
|
|
|
|
|
|
|
|
|
| 50 |
|
| 51 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 52 |
"""
|