BaRiDo commited on
Commit
cec2ab4
·
verified ·
1 Parent(s): ba86dfb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -5
app.py CHANGED
@@ -191,15 +191,22 @@ st.subheader("AI-Powered Project & Policy Matching")
191
  st.write("Explore the Lab Lab Library to find relevant past projects that align with your policy or new initiative.")
192
 
193
  # Suggested search queries as buttons
194
- col1, col2 = st.columns(2)
195
 
196
  with col1:
197
- if st.button("Solarpunk projects to connect with"):
198
- st.session_state["user_input"] = "Solarpunk projects to connect with"
 
199
 
200
  with col2:
201
- if st.button("How to implement DEI?"):
202
- st.session_state["user_input"] = "How to implement DEI?"
 
 
 
 
 
 
203
 
204
  # User input in Streamlit
205
  user_input = st.text_input("Describe your policy or project to find relevant Lab Lab projects...", value=st.session_state.user_input, key="text_input")
 
191
  st.write("Explore the Lab Lab Library to find relevant past projects that align with your policy or new initiative.")
192
 
193
  # Suggested search queries as buttons
194
+ col1, col2, col3 = st.columns(3)
195
 
196
  with col1:
197
+ q = "Projects to link with Solarpunk"
198
+ if st.button(q):
199
+ st.session_state["user_input"] = q
200
 
201
  with col2:
202
+ q = "Projects to implement DEI"
203
+ if st.button(q):
204
+ st.session_state["user_input"] = q
205
+
206
+ with col3:
207
+ q = "Projects with decentral focus"
208
+ if st.button(q):
209
+ st.session_state["user_input"] = "q
210
 
211
  # User input in Streamlit
212
  user_input = st.text_input("Describe your policy or project to find relevant Lab Lab projects...", value=st.session_state.user_input, key="text_input")