sabatale commited on
Commit
6fc7c84
·
verified ·
1 Parent(s): ca1f82d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +7 -10
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
- search_bar, button = st.columns(1)
23
- # Search bar
24
- with search_bar:
25
- st.caption("(e.g., It doesn't work on Android. The app is not blocking calls!!!)")
26
- prompt = st.text_input("Your question", on_change=reset_results)
27
-
28
- with button:
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 = (