BaRiDo commited on
Commit
3061a63
·
verified ·
1 Parent(s): 92b5c13

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -221,7 +221,7 @@ if user_input:
221
  grounding = proximity_search(user_input)
222
 
223
  # add the submissions as context (only in prompt, not in history)
224
- prompt = user_input + ". Write project images with the url of the project. The context for the question: " + grounding;
225
  messages = st.session_state.messages.copy()
226
  messages.append({"role": "user", "content": prompt})
227
  st.session_state.messages.append({"role": "user", "content": user_input})
 
221
  grounding = proximity_search(user_input)
222
 
223
  # add the submissions as context (only in prompt, not in history)
224
+ prompt = user_input + ". If a project is mentioned, share the image. The context for the question: " + grounding;
225
  messages = st.session_state.messages.copy()
226
  messages.append({"role": "user", "content": prompt})
227
  st.session_state.messages.append({"role": "user", "content": user_input})