Spaces:
Runtime error
Runtime error
kristada673
commited on
Commit
•
b9345c6
1
Parent(s):
25320e0
Update app.py
Browse files
app.py
CHANGED
@@ -83,8 +83,8 @@ css = ".output-image, .input-image {height: 40rem !important; width: 100% !impor
|
|
83 |
css = ".image-preview {height: auto !important;}"
|
84 |
|
85 |
iface = gr.Interface(fn=process_image,
|
86 |
-
inputs=gr.
|
87 |
-
outputs=gr.
|
88 |
title=title,
|
89 |
description=description,
|
90 |
article=article,
|
|
|
83 |
css = ".image-preview {height: auto !important;}"
|
84 |
|
85 |
iface = gr.Interface(fn=process_image,
|
86 |
+
inputs=gr.Image(type="pil"),
|
87 |
+
outputs=gr.Image(type="pil", label="annotated image"),
|
88 |
title=title,
|
89 |
description=description,
|
90 |
article=article,
|