Update app.py
Browse files
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="
|
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,
|