awacke1 commited on
Commit
3e50c29
·
1 Parent(s): 55cb5c2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -22,5 +22,5 @@ if st.button('Regenerate Quotes'):
22
  # Search textbox and button with the default value for the quote search to be courage
23
  search_term = st.text_input(label='Search Term', value='courage')
24
  if st.button('Search'):
25
- quotes_search = quotes[quotes[0].str.contains(search_term, case=False)].head(1000)
26
  st.write(quotes_search)
 
22
  # Search textbox and button with the default value for the quote search to be courage
23
  search_term = st.text_input(label='Search Term', value='courage')
24
  if st.button('Search'):
25
+ quotes_search = quotes[quotes['quote'].str.contains(search_term, case=False)].head(1000)
26
  st.write(quotes_search)