Anne31415 commited on
Commit
fecd5f7
·
verified ·
1 Parent(s): 2071fb2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -174,9 +174,7 @@ def add_to_chat_history(speaker, message, history_key):
174
  if history_key in st.session_state:
175
  st.session_state[history_key].append((speaker, message))
176
 
177
- # Beispiel für das Hinzufügen zur Chat-Historie
178
- add_to_chat_history("User", user_input, 'chat_history_page1')
179
- add_to_chat_history("Bot", bot_response, 'chat_history_page1')
180
 
181
  # Funktion zum sicheren Kombinieren der Chat-Historie mit der aktuellen Anfrage
182
  def combine_history_with_query(current_query, history):
 
174
  if history_key in st.session_state:
175
  st.session_state[history_key].append((speaker, message))
176
 
177
+
 
 
178
 
179
  # Funktion zum sicheren Kombinieren der Chat-Historie mit der aktuellen Anfrage
180
  def combine_history_with_query(current_query, history):