kirchik47 commited on
Commit
b922c7e
·
1 Parent(s): 381636a
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -39,6 +39,5 @@ if uploaded_image is not None:
39
  # Search functionality
40
  search_query = st.text_input("Enter a keyword to search within the text")
41
  if search_query:
42
- for keyword in search_query.split():
43
- st.markdown(highlight_keywords(extracted_text, search_query), unsafe_allow_html=True)
44
 
 
39
  # Search functionality
40
  search_query = st.text_input("Enter a keyword to search within the text")
41
  if search_query:
42
+ st.markdown(highlight_keywords(extracted_text, search_query), unsafe_allow_html=True)
 
43