Spaces:
Running
Running
UniquePratham
commited on
Commit
•
58c599f
1
Parent(s):
aa47a7c
Update app.py
Browse files
app.py
CHANGED
@@ -166,7 +166,7 @@ if uploaded_file or clipboard_text:
|
|
166 |
st.markdown(polished_text, unsafe_allow_html=True)
|
167 |
|
168 |
# Input box for real-time search
|
169 |
-
search_query = st.text_input("Search in extracted text:", key="search_query", placeholder="Type to search...", on_change=lambda: st.session_state.update(search_query) disabled=not uploaded_file)
|
170 |
|
171 |
# Highlight the search term in the text
|
172 |
if search_query:
|
|
|
166 |
st.markdown(polished_text, unsafe_allow_html=True)
|
167 |
|
168 |
# Input box for real-time search
|
169 |
+
search_query = st.text_input("Search in extracted text:", key="search_query", placeholder="Type to search...", on_change=lambda: st.session_state.update(search_query), disabled=not uploaded_file)
|
170 |
|
171 |
# Highlight the search term in the text
|
172 |
if search_query:
|