JaMe76 commited on
Commit
8bf9be9
·
1 Parent(s): 456826e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -24,7 +24,7 @@ def analyze_image(img, with_ocr):
24
 
25
  return dp.viz(show_table_structure=False), out
26
 
27
- inputs = [gr.inputs.Image(type='numpy', label="Original Image"), gr.Checkbox(label="OCR"), gr.Dropdown(["eng", "deu", "fra"], value="eng")]
28
  outputs = [gr.outputs.Image(type="numpy", label="Output Image"), "JSON"]
29
 
30
  title = "Deepdoctection - A Document AI Package"
 
24
 
25
  return dp.viz(show_table_structure=False), out
26
 
27
+ inputs = [gr.inputs.Image(type='numpy', label="Original Image"), gr.Checkbox(label="OCR")]
28
  outputs = [gr.outputs.Image(type="numpy", label="Output Image"), "JSON"]
29
 
30
  title = "Deepdoctection - A Document AI Package"