wop commited on
Commit
e1998de
1 Parent(s): 0b24926

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ if prompt := st.chat_input("Enter your prompt here..."):
179
  {"role": "assistant", "content": combined_response}
180
  )
181
 
182
- if prompt := prompts.get(st.session_state["prompt_selectbox"]):
183
  st.session_state["prompt_selectbox"].option("none")
184
 
185
  st.session_state.messages.append({"role": "user", "content": prompt})
 
179
  {"role": "assistant", "content": combined_response}
180
  )
181
 
182
+ if prompt := st.session_state["prompt_selectbox"]:
183
  st.session_state["prompt_selectbox"].option("none")
184
 
185
  st.session_state.messages.append({"role": "user", "content": prompt})