JaMe76 commited on
Commit
c10c828
1 Parent(s): 631a303

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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"), "JSON"]
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."