Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -32,8 +32,7 @@ if uploaded_file is not None:
|
|
| 32 |
|
| 33 |
# Highlight the keyword in the extracted text
|
| 34 |
if keyword:
|
| 35 |
-
|
| 36 |
-
#keyword, f"<mark style='background-color: yellow; color: black;'>{keyword}</mark>")
|
| 37 |
highlighted_text = full_text.replace(
|
| 38 |
keyword, f"<mark>{keyword}</mark>")
|
| 39 |
st.subheader("Highlighted Search Results")
|
|
|
|
| 32 |
|
| 33 |
# Highlight the keyword in the extracted text
|
| 34 |
if keyword:
|
| 35 |
+
|
|
|
|
| 36 |
highlighted_text = full_text.replace(
|
| 37 |
keyword, f"<mark>{keyword}</mark>")
|
| 38 |
st.subheader("Highlighted Search Results")
|