Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ def analyze_image(img):
|
|
25 |
return dp.viz(show_table_structure=False), out
|
26 |
|
27 |
inputs = [gr.inputs.Image(type='numpy', label="Original Image")]
|
28 |
-
outputs = [gr.outputs.Image(type="numpy", label="Output Image"),
|
29 |
|
30 |
title = "Deepdoctection - A Document AI Package"
|
31 |
description = "Demonstration of layout analysis and output of a document page."
|
|
|
25 |
return dp.viz(show_table_structure=False), out
|
26 |
|
27 |
inputs = [gr.inputs.Image(type='numpy', label="Original Image")]
|
28 |
+
outputs = [gr.outputs.Image(type="numpy", label="Output Image"), gr.JSON()]
|
29 |
|
30 |
title = "Deepdoctection - A Document AI Package"
|
31 |
description = "Demonstration of layout analysis and output of a document page."
|