Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -49,14 +49,14 @@ class BasicAgent:
|
|
| 49 |
return f"Error: {e}"
|
| 50 |
|
| 51 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
| 52 |
-
class BasicAgent:
|
| 53 |
-
|
| 54 |
-
|
| 55 |
-
|
| 56 |
-
|
| 57 |
-
|
| 58 |
-
|
| 59 |
-
|
| 60 |
|
| 61 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 62 |
"""
|
|
|
|
| 49 |
return f"Error: {e}"
|
| 50 |
|
| 51 |
# ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
|
| 52 |
+
# class BasicAgent:
|
| 53 |
+
# def __init__(self):
|
| 54 |
+
# print("BasicAgent initialized.")
|
| 55 |
+
# def __call__(self, question: str) -> str:
|
| 56 |
+
# print(f"Agent received question (first 50 chars): {question[:50]}...")
|
| 57 |
+
# fixed_answer = "This is a default answer."
|
| 58 |
+
# print(f"Agent returning fixed answer: {fixed_answer}")
|
| 59 |
+
# return fixed_answer
|
| 60 |
|
| 61 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 62 |
"""
|