shuv25 commited on
Commit
4b6b103
·
verified ·
1 Parent(s): 63ebe94

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
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