Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
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):
|