kaydee commited on
Commit
ddc5285
1 Parent(s): d2c17dc

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -10,8 +10,8 @@ description = "Reciepts information extraction - Here we use Microsoft's LayoutL
10
  css = """.output_image, .input_image {height: 600px !important}"""
11
 
12
  iface = gr.Interface(fn=ei.main,
13
- inputs=gr.inputs.Image(),
14
- outputs=gr.outputs.Image(type="pil", label="annotated image"),
15
  title=title,
16
  description=description,
17
  css=css,
 
10
  css = """.output_image, .input_image {height: 600px !important}"""
11
 
12
  iface = gr.Interface(fn=ei.main,
13
+ inputs=gr.Image(type="pil"),
14
+ outputs=gr.Image(type="pil", label="annotated image"),
15
  title=title,
16
  description=description,
17
  css=css,