Yara Kyrychenko commited on
Commit
15f3e9d
·
1 Parent(s): f016776
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -241,8 +241,8 @@ elif st.session_state.submitted == False:
241
 
242
  elif st.query_params["p"] == "g":
243
 
244
- search = st.text_input("Ask a question about climate action...")
245
- components.iframe(f"https://www.google.com/search?igu=1&ei=&q={search}", height=2000)
246
 
247
  elif st.query_params["p"] == "n":
248
  st.markdown("""
 
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("""