kristada673 commited on
Commit
3943da5
1 Parent(s): 1e1804e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Image(type="pil"),
87
- outputs=gr.Image(type="pil", label="annotated image"),
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.components.Image(type="pil"),
87
+ outputs=gr.components.Image(type="pil", label="annotated image"),
88
  title=title,
89
  description=description,
90
  article=article,