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