Spaces:
Runtime error
Runtime error
Fix answer format
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ class BasicAgent:
|
|
| 27 |
# print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 28 |
# fixed_answer = "This is a default answer."
|
| 29 |
# print(f"Agent returning fixed answer: {fixed_answer}")
|
| 30 |
-
return answer[:
|
| 31 |
|
| 32 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 33 |
"""
|
|
|
|
| 27 |
# print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 28 |
# fixed_answer = "This is a default answer."
|
| 29 |
# print(f"Agent returning fixed answer: {fixed_answer}")
|
| 30 |
+
return answer[14:]
|
| 31 |
|
| 32 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 33 |
"""
|