Update app.py
Browse files
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
|