Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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[
|
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)
|