freddyaboulton HF Staff commited on
Commit
0a345cb
·
1 Parent(s): 7a2b44c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -6,10 +6,10 @@ def echo_image(image):
6
  demo = gr.Interface(
7
  fn=echo_image,
8
  inputs=[
9
- gr.components.Image(type='pil', shape=(512, 512)),
10
  ],
11
  outputs=[
12
- gr.components.Image(type='pil', shape=(512, 512), label="output-1")
13
  ],
14
  )
15
 
 
6
  demo = gr.Interface(
7
  fn=echo_image,
8
  inputs=[
9
+ gr.components.Image(shape=(512, 512)),
10
  ],
11
  outputs=[
12
+ gr.components.Image(shape=(512, 512), label="output-1")
13
  ],
14
  )
15