Redmind commited on
Commit
356c501
·
verified ·
1 Parent(s): a6e3784

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -86,7 +86,8 @@ def handle_chat(user_message):
86
  return chat_history
87
 
88
  except Exception as e:
89
- chat_history.append((visual_query, f"As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!"))
 
90
  return chat_history
91
  # Chat handling function
92
  def chat_interaction(user_message):
 
86
  return chat_history
87
 
88
  except Exception as e:
89
+ user_message = f"<b style='color:#6366f1;'>USER:</b> {visual_query.strip()}"
90
+ chat_history.append((user_message, f"As you know I am still learning at this moment I am not able to respond to your question.\nThank you for your patience!"))
91
  return chat_history
92
  # Chat handling function
93
  def chat_interaction(user_message):