Shabdobhedi commited on
Commit
0a07888
·
verified ·
1 Parent(s): c700954

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
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
- #highlighted_text = full_text.replace(
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")