BaRiDo commited on
Commit
0e28843
Β·
verified Β·
1 Parent(s): 3061a63

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +14 -2
app.py CHANGED
@@ -208,10 +208,22 @@ def proximity_search( question ):
208
  return "\n".join(documents)
209
 
210
  # Streamlit UI
211
- st.title("πŸ” Policy Maker")
 
212
 
 
 
 
 
 
 
 
 
 
 
 
213
  # User input in Streamlit
214
- user_input = st.chat_input("Type your message...")
215
 
216
  if user_input:
217
 
 
208
  return "\n".join(documents)
209
 
210
  # Streamlit UI
211
+ st.title("πŸ” Policy Scroll: AI-Powered Project Matching")
212
+ st.write("Explore the Lab Lab Library to find relevant past projects that align with your policy or new initiative.")
213
 
214
+ # Suggested search queries as buttons
215
+ col1, col2 = st.columns(2)
216
+
217
+ with col1:
218
+ if st.button("Solarpunk projects to connect with"):
219
+ st.session_state["user_input"] = "Solarpunk projects to connect with"
220
+
221
+ with col2:
222
+ if st.button("How to implement DEI?"):
223
+ st.session_state["user_input"] = "How to implement DEI?"
224
+
225
  # User input in Streamlit
226
+ user_input = st.chat_input("Describe your policy or project to find relevant Lab Lab projects...")
227
 
228
  if user_input:
229