nielsr HF staff commited on
Commit
a393dd3
1 Parent(s): 8703dc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -58,8 +58,8 @@ examples =[['publaynet_example.jpeg']]
58
  css = ".output-image, .input-image, .image-preview {height: 600px !important}"
59
 
60
  iface = gr.Interface(fn=analyze_image,
61
- inputs=gr.inputs.Image(type="numpy"),
62
- outputs=gr.outputs.Image(type="numpy", label="analyzed image"),
63
  title=title,
64
  description=description,
65
  examples=examples,
 
58
  css = ".output-image, .input-image, .image-preview {height: 600px !important}"
59
 
60
  iface = gr.Interface(fn=analyze_image,
61
+ inputs=gr.inputs.Image(type="numpy", label="document image"),
62
+ outputs=gr.outputs.Image(type="numpy", label="annotated document"),
63
  title=title,
64
  description=description,
65
  examples=examples,