Update app.py
Browse files
app.py
CHANGED
@@ -207,7 +207,7 @@ with st.expander("ℹ️ - About this app", expanded=False):
|
|
207 |
st.write(country)
|
208 |
st.write(vulnerabilities_cat)
|
209 |
|
210 |
-
st.write(
|
211 |
|
212 |
|
213 |
|
@@ -237,6 +237,7 @@ 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 |
|
241 |
if st.button('Submit'):
|
242 |
run_query(text, country=country, model_sel=model_sel)
|
|
|
207 |
st.write(country)
|
208 |
st.write(vulnerabilities_cat)
|
209 |
|
210 |
+
st.write(test)
|
211 |
|
212 |
|
213 |
|
|
|
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)
|