Update app.py
Browse filesadded type to demo--inputs
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
|
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",
|