Update app.py
Browse files
app.py
CHANGED
@@ -205,9 +205,11 @@ with st.expander("ℹ️ - About this app", expanded=False):
|
|
205 |
Make sure your filters match the countries you have specified for the analysis!
|
206 |
""")
|
207 |
st.write(country)
|
|
|
|
|
208 |
st.write(vulnerabilities_cat)
|
209 |
|
210 |
-
|
211 |
|
212 |
|
213 |
|
@@ -237,8 +239,6 @@ if selected_example == "-":
|
|
237 |
else:
|
238 |
text = st.text_area('Enter your question in the text box below using natural language or select an example from above:', value=selected_example)
|
239 |
|
240 |
-
test = get_docs(text, country=country,vulnerability_cat=vulnerability_options)
|
241 |
-
|
242 |
if st.button('Submit'):
|
243 |
run_query(text, country=country, model_sel=model_sel)
|
244 |
|
|
|
205 |
Make sure your filters match the countries you have specified for the analysis!
|
206 |
""")
|
207 |
st.write(country)
|
208 |
+
st.write(country[0])
|
209 |
+
st.write(vulnerabilities_cat[0])
|
210 |
st.write(vulnerabilities_cat)
|
211 |
|
212 |
+
|
213 |
|
214 |
|
215 |
|
|
|
239 |
else:
|
240 |
text = st.text_area('Enter your question in the text box below using natural language or select an example from above:', value=selected_example)
|
241 |
|
|
|
|
|
242 |
if st.button('Submit'):
|
243 |
run_query(text, country=country, model_sel=model_sel)
|
244 |
|