SS8297 commited on
Commit
1092b39
·
verified ·
1 Parent(s): fd80234

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -128,6 +128,6 @@ if prompt := st.chat_input("Skriv din fråga..."):
128
  response = f"{generated_text}"
129
  # Display assistant response in chat message container
130
  with st.chat_message("assistant"):
131
- st.markdown(f"```{prompt}```\n" + response)
132
  # Add assistant response to chat history
133
  st.session_state.messages.append({"role": "assistant", "content": response})
 
128
  response = f"{generated_text}"
129
  # Display assistant response in chat message container
130
  with st.chat_message("assistant"):
131
+ st.markdown(f"```{query}```\n" + response)
132
  # Add assistant response to chat history
133
  st.session_state.messages.append({"role": "assistant", "content": response})