sabatale commited on
Commit
6799481
1 Parent(s): 7d6d329

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -29,7 +29,7 @@ run_pressed = st.button("Ask")
29
 
30
  if st.session_state.get("api_key_configured") and prompt != "":
31
  run_query = (
32
- run_pressed
33
  )
34
 
35
  # Get results for query
 
29
 
30
  if st.session_state.get("api_key_configured") and prompt != "":
31
  run_query = (
32
+ run_pressed and prompt != ""
33
  )
34
 
35
  # Get results for query