Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -785,7 +785,7 @@ Make sure the data is relevant to the educational concept being discussed.
|
|
| 785 |
chat_time = end_chat_time - start_chat_time
|
| 786 |
log_metric(f"Complete streaming chat time (error): {chat_time:0.4f} seconds. Timestamp: {current_time:%Y-%m-%d %H:%M:%S}")
|
| 787 |
yield f"I apologize, but I encountered an error: {str(e)}"
|
| 788 |
-
|
| 789 |
# --- Global Agent Instance ---
|
| 790 |
agent = None
|
| 791 |
|
|
|
|
| 785 |
chat_time = end_chat_time - start_chat_time
|
| 786 |
log_metric(f"Complete streaming chat time (error): {chat_time:0.4f} seconds. Timestamp: {current_time:%Y-%m-%d %H:%M:%S}")
|
| 787 |
yield f"I apologize, but I encountered an error: {str(e)}"
|
| 788 |
+
|
| 789 |
# --- Global Agent Instance ---
|
| 790 |
agent = None
|
| 791 |
|