Spaces:
Sleeping
Sleeping
geadmin
commited on
Commit
·
3e3d685
1
Parent(s):
8302172
add question in error
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ class BasicAgent:
|
|
| 27 |
return result
|
| 28 |
except Exception as e:
|
| 29 |
print(f"Error answering {e}")
|
| 30 |
-
return "Error generating answer"
|
| 31 |
|
| 32 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 33 |
"""
|
|
|
|
| 27 |
return result
|
| 28 |
except Exception as e:
|
| 29 |
print(f"Error answering {e}")
|
| 30 |
+
return "{question[:50]} Error generating answer"
|
| 31 |
|
| 32 |
def run_and_submit_all( profile: gr.OAuthProfile | None):
|
| 33 |
"""
|