Spaces:
Sleeping
Sleeping
Aumkeshchy2003
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -17,10 +17,10 @@ language_choices = pytesseract.get_languages()
|
|
17 |
|
18 |
demo = gr.Interface(
|
19 |
fn=tesseract_ocr,
|
20 |
-
|
21 |
gr.Image(type="filepath", label="Input"),
|
22 |
-
gr.
|
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,
|