Yara Kyrychenko commited on
Commit
1a86d35
·
1 Parent(s): 15f3e9d
Files changed (1) hide show
  1. app.py +5 -2
app.py CHANGED
@@ -241,8 +241,11 @@ elif st.session_state.submitted == False:
241
 
242
  elif st.query_params["p"] == "g":
243
 
244
- if search := st.text_input("Ask a question about climate action..."):
245
- components.iframe(f"https://www.google.com/search?igu=1&ei=&q={search}")
 
 
 
246
 
247
  elif st.query_params["p"] == "n":
248
  st.markdown("""
 
241
 
242
  elif st.query_params["p"] == "g":
243
 
244
+ search = ""
245
+ if search == "":
246
+ search = st.text_input("Ask a question about climate action...")
247
+ if search != "":
248
+ components.iframe(f"https://www.google.com/search?igu=1&ei=&q={search}",scrolling=True)
249
 
250
  elif st.query_params["p"] == "n":
251
  st.markdown("""