Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -44,7 +44,7 @@ class BasicAgent:
|
|
| 44 |
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
#return smart_agent(question, self.api_key)
|
| 47 |
-
return run(question)
|
| 48 |
#print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 49 |
#fixed_answer = "This is a default answer."
|
| 50 |
#fixed_answer = self.llamaindex_agent.run(question)
|
|
|
|
| 44 |
|
| 45 |
def __call__(self, question: str) -> str:
|
| 46 |
#return smart_agent(question, self.api_key)
|
| 47 |
+
return self.run(question)
|
| 48 |
#print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 49 |
#fixed_answer = "This is a default answer."
|
| 50 |
#fixed_answer = self.llamaindex_agent.run(question)
|