Yara Kyrychenko commited on
Commit
3472bd1
·
1 Parent(s): 9faf1b4

search engine

Browse files
Files changed (1) hide show
  1. app.py +4 -5
app.py CHANGED
@@ -125,11 +125,10 @@ with st.sidebar:
125
  if st.session_state.gotit == False or st.session_state.submitted == False:
126
  st.session_state.gotit = st.button("Let's start!", key=None, help=None, use_container_width=True)
127
 
128
- search = ""
129
- if search == "":
130
- search = st.text_input("Enter a link")
131
- if search != "":
132
- components.iframe(f"{search}",height=1000,scrolling=True)
133
 
134
 
135
  @st.dialog('Form', width="large")
 
125
  if st.session_state.gotit == False or st.session_state.submitted == False:
126
  st.session_state.gotit = st.button("Let's start!", key=None, help=None, use_container_width=True)
127
 
128
+ st.markdown("""
129
+ <script async src="https://cse.google.com/cse.js?cx=c6f2659061dc54b6e">
130
+ </script>
131
+ <div class="gcse-search"></div>""", unsafe_allow_html=True)
 
132
 
133
 
134
  @st.dialog('Form', width="large")