Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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")
|
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"
|