mgokg commited on
Commit
209811f
·
verified ·
1 Parent(s): 3f2068f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -105,5 +105,6 @@ if user_input:
105
  full_prompt = f"{user_input}\nAntworte immer auf Deutsch"
106
  response = st.session_state.chat_session.send_message(full_prompt)
107
  response_text = response.candidates[0].content.parts[0].text if response.candidates else "Keine Antwort"
108
- st.session_state.display_history.append(("assistant", response_text))
 
109
  #st.rerun()
 
105
  full_prompt = f"{user_input}\nAntworte immer auf Deutsch"
106
  response = st.session_state.chat_session.send_message(full_prompt)
107
  response_text = response.candidates[0].content.parts[0].text if response.candidates else "Keine Antwort"
108
+ st.write(response_text)
109
+ #st.session_state.display_history.append(("assistant", response_text))
110
  #st.rerun()