Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -208,10 +208,22 @@ def proximity_search( question ):
|
|
208 |
return "\n".join(documents)
|
209 |
|
210 |
# Streamlit UI
|
211 |
-
st.title("π Policy
|
|
|
212 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
# User input in Streamlit
|
214 |
-
user_input = st.chat_input("
|
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 |
|