Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -67,11 +67,11 @@ demo = gr.Interface(fn=transfer, # mapping function from input to output
|
|
67 |
inputs=[gr.Image(type="pil", label='Input'),
|
68 |
gr.Dropdown(choices=[i.parent.name for i in models], value='rain_princess', type='index', label="Style", info="Chooses kind of style image")], # what are the inputs?
|
69 |
outputs=[image_output_1, image_output_2], # our fn has two outputs, therefore we have two outputs
|
70 |
-
label = ['One', "Two"],
|
71 |
examples=example_list,
|
|
|
72 |
title=title,
|
73 |
description=description,
|
74 |
article=article)
|
75 |
|
76 |
# Launch the demo!
|
77 |
-
demo.launch(
|
|
|
67 |
inputs=[gr.Image(type="pil", label='Input'),
|
68 |
gr.Dropdown(choices=[i.parent.name for i in models], value='rain_princess', type='index', label="Style", info="Chooses kind of style image")], # what are the inputs?
|
69 |
outputs=[image_output_1, image_output_2], # our fn has two outputs, therefore we have two outputs
|
|
|
70 |
examples=example_list,
|
71 |
+
cache_examples=False,
|
72 |
title=title,
|
73 |
description=description,
|
74 |
article=article)
|
75 |
|
76 |
# Launch the demo!
|
77 |
+
demo.launch()
|