Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -283,8 +283,8 @@ if prompt := st.chat_input(placeholder='Tôi có thể giúp được gì cho b
|
|
283 |
|
284 |
except json.JSONDecodeError:
|
285 |
pass
|
286 |
-
except
|
287 |
-
full_response = "Hiện tại
|
288 |
|
289 |
message_placeholder.markdown(f"""
|
290 |
<div class="assistant-message">
|
|
|
283 |
|
284 |
except json.JSONDecodeError:
|
285 |
pass
|
286 |
+
except Exception as e:
|
287 |
+
full_response = "Hiện tại trợ lý AI đang nghỉ xíu để sạc pin 🔌. Bạn hãy quay lại sau nhé!"
|
288 |
|
289 |
message_placeholder.markdown(f"""
|
290 |
<div class="assistant-message">
|