Update app.py
Browse files
app.py
CHANGED
|
@@ -79,6 +79,10 @@ def process_delivery_query(query, user_session_id, request: gr.Request):
|
|
| 79 |
|
| 80 |
Each user has isolated memory and cannot access other users' data.
|
| 81 |
"""
|
|
|
|
|
|
|
|
|
|
|
|
|
| 82 |
if not query.strip():
|
| 83 |
return "<div style='color:#d32f2f; padding:20px; background:#ffebee; border-radius:8px; border-left:4px solid #d32f2f;'>Please enter a query</div>", None, user_session_id
|
| 84 |
|
|
|
|
| 79 |
|
| 80 |
Each user has isolated memory and cannot access other users' data.
|
| 81 |
"""
|
| 82 |
+
|
| 83 |
+
query = query.replace("⏳ Processing your request...", "").strip()
|
| 84 |
+
|
| 85 |
+
|
| 86 |
if not query.strip():
|
| 87 |
return "<div style='color:#d32f2f; padding:20px; background:#ffebee; border-radius:8px; border-left:4px solid #d32f2f;'>Please enter a query</div>", None, user_session_id
|
| 88 |
|