Update app.py
Browse files
app.py
CHANGED
@@ -23,8 +23,8 @@ class BasicAgent:
|
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
25 |
fixed_answer = "This is a default answer."
|
26 |
-
print(f"Agent returning fixed answer: {fixed_answer}")
|
27 |
new_answer = self.agent.run(question)
|
|
|
28 |
return fixed_answer
|
29 |
|
30 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
|
|
23 |
def __call__(self, question: str) -> str:
|
24 |
print(f"Agent received question (first 50 chars): {question[:50]}...")
|
25 |
fixed_answer = "This is a default answer."
|
|
|
26 |
new_answer = self.agent.run(question)
|
27 |
+
print(f"Agent returning answer: {new_answer}")
|
28 |
return fixed_answer
|
29 |
|
30 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|