Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -643,6 +643,6 @@ Available: {match.get('Available', 'N/A')}"""
|
|
| 643 |
|
| 644 |
# Return the updated history state
|
| 645 |
# This return statement MUST be inside the respond function definition
|
| 646 |
-
|
| 647 |
|
| 648 |
-
|
|
|
|
| 643 |
|
| 644 |
# Return the updated history state
|
| 645 |
# This return statement MUST be inside the respond function definition
|
| 646 |
+
# return "", chat_history # Return empty string for the input box, and the updated history
|
| 647 |
|
| 648 |
+
return "", chat_history + [(user_input, "Sorry, the application failed to load necessary components. Please try again later or contact the administrator.")]
|