Aumkeshchy2003 commited on
Commit
d66c9c9
·
verified ·
1 Parent(s): 1c9cf55

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,10 +17,10 @@ language_choices = pytesseract.get_languages()
17
 
18
  demo = gr.Interface(
19
  fn=tesseract_ocr,
20
- inputs=[
21
  gr.Image(type="filepath", label="Input"),
22
- gr.Textbox(label="Keyword to highlight", placeholder="Enter a keyword...") # Added keyword input
23
- ],
24
  outputs='html',
25
  title=title,
26
  description=description,
 
17
 
18
  demo = gr.Interface(
19
  fn=tesseract_ocr,
20
+ inputs=[
21
  gr.Image(type="filepath", label="Input"),
22
+ gr.CheckboxGroup(language_choices, type="value", value=['eng'], label='language')
23
+ ],
24
  outputs='html',
25
  title=title,
26
  description=description,