BaRiDo commited on
Commit
7fed2df
·
verified ·
1 Parent(s): 38a7b6c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,7 +6,7 @@ import sentence_transformers
6
 
7
  import streamlit as st
8
 
9
- VECTOR_DB ="c8af7dfa-bcad-46e5-b69d-cd85ce9315d1"
10
 
11
  IBM_API_KEY = os.getenv("IBM_API_KEY")
12
  IBM_PROJECT_ID = "a0659778-f4ce-4da1-ba01-43b4f43a026f"
@@ -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 + ". Provide urls where possible. Given the context: " + 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})
 
6
 
7
  import streamlit as st
8
 
9
+ VECTOR_DB ="bbf2ef09-875b-4737-a793-499409a108b0"
10
 
11
  IBM_API_KEY = os.getenv("IBM_API_KEY")
12
  IBM_PROJECT_ID = "a0659778-f4ce-4da1-ba01-43b4f43a026f"
 
221
  grounding = proximity_search(user_input)
222
 
223
  # add the submissions as context (only in prompt, not in history)
224
+ prompt = user_input + ". Share images in markdown syntax. Given the context: " + 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})