Legola commited on
Commit
5d77b8d
·
1 Parent(s): dcbc12e

Update app.py

Browse files

added type to demo--inputs

Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -64,8 +64,8 @@ example_list = [["examples/" + example] for example in os.listdir("examples")]
64
  demo = gr.Interface(
65
  fn=style_transfer,
66
  inputs=[
67
- gr.inputs.Image(label="content Image"),
68
- gr.inputs.Image(label="style_image")
69
  ],
70
  examples=example_list,
71
  outputs="image",
 
64
  demo = gr.Interface(
65
  fn=style_transfer,
66
  inputs=[
67
+ gr.inputs.Image(label="content image",type=pil),
68
+ gr.inputs.Image(label="style_image",type=pil)
69
  ],
70
  examples=example_list,
71
  outputs="image",