Update app.py
Browse files
app.py
CHANGED
@@ -72,8 +72,8 @@ examples =[['publaynet_example.jpeg']]
|
|
72 |
css = ".output-image, .input-image, .image-preview {height: 600px !important}"
|
73 |
|
74 |
iface = gr.Interface(fn=analyze_image,
|
75 |
-
inputs=gr.
|
76 |
-
outputs=gr.
|
77 |
title=title,
|
78 |
description=description,
|
79 |
examples=examples,
|
|
|
72 |
css = ".output-image, .input-image, .image-preview {height: 600px !important}"
|
73 |
|
74 |
iface = gr.Interface(fn=analyze_image,
|
75 |
+
inputs=gr.Image(type="numpy", label="document image"),
|
76 |
+
outputs=gr.Image(type="numpy", label="annotated document"),
|
77 |
title=title,
|
78 |
description=description,
|
79 |
examples=examples,
|