Update app.py
Browse files
app.py
CHANGED
@@ -19,16 +19,13 @@ st.write("# 🔎 Ask Me Anything")
|
|
19 |
pipeline = start_haystack(st.session_state.get("COHERE_API_KEY"))
|
20 |
|
21 |
st.session_state["api_key_configured"] = True
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
st.write("")
|
30 |
-
st.write("")
|
31 |
-
run_pressed = st.button("Ask")
|
32 |
|
33 |
if st.session_state.get("api_key_configured"):
|
34 |
run_query = (
|
|
|
19 |
pipeline = start_haystack(st.session_state.get("COHERE_API_KEY"))
|
20 |
|
21 |
st.session_state["api_key_configured"] = True
|
22 |
+
|
23 |
+
st.caption("(e.g., It doesn't work on Android. The app is not blocking calls!!!)")
|
24 |
+
prompt = st.text_input("Your question", on_change=reset_results)
|
25 |
+
|
26 |
+
st.write("")
|
27 |
+
st.write("")
|
28 |
+
run_pressed = st.button("Ask")
|
|
|
|
|
|
|
29 |
|
30 |
if st.session_state.get("api_key_configured"):
|
31 |
run_query = (
|