Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
@@ -93,8 +93,8 @@ css = ".output-image, .input-image {height: 40rem !important; width: 100% !impor
|
|
93 |
css = ".image-preview {height: auto !important;}"
|
94 |
|
95 |
iface = gr.Interface(fn=infer,
|
96 |
-
inputs=gr.
|
97 |
-
outputs=gr.
|
98 |
title=title,
|
99 |
description=description,
|
100 |
article=article,
|
|
|
93 |
css = ".image-preview {height: auto !important;}"
|
94 |
|
95 |
iface = gr.Interface(fn=infer,
|
96 |
+
inputs=gr.Image(type="pil"),
|
97 |
+
outputs=gr.Image(type="pil", label="annotated image"),
|
98 |
title=title,
|
99 |
description=description,
|
100 |
article=article,
|