freddyaboulton HF Staff commited on
Commit
cb2baaf
·
1 Parent(s): a32c95d

no pil input

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -6,7 +6,7 @@ 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(shape=(512, 512), label="output-1")
 
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")