Aumkeshchy2003 commited on
Commit
c44c0cc
1 Parent(s): 5a4faf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ def search_and_highlight(text, keyword):
19
  highlighted_text = re.sub(f"({keyword})", r"<mark>\1</mark>", text, flags=re.IGNORECASE)
20
  return highlighted_text
21
 
22
- def ocr_and_search(image, keyword, languages):
23
  if image is None:
24
  return "Please upload an image."
25
 
 
19
  highlighted_text = re.sub(f"({keyword})", r"<mark>\1</mark>", text, flags=re.IGNORECASE)
20
  return highlighted_text
21
 
22
+ def ocr_and_search(image, keyword, language_choices):
23
  if image is None:
24
  return "Please upload an image."
25