Spaces:
Running
on
A10G
Running
on
A10G
Commit
•
0241ca9
1
Parent(s):
8ddac36
Update app.py
Browse files
app.py
CHANGED
@@ -66,7 +66,7 @@ with gr.Blocks() as demo:
|
|
66 |
btn = gr.Button("Get the haircut")
|
67 |
with gr.Column():
|
68 |
output = gr.Image(label="Your result")
|
69 |
-
gr.Examples(examples=[["michael_cera-min.png", "leo_square-min.png", "pink_hair_celeb-min.png"]], inputs=[source, target_1, target_2], outputs=output
|
70 |
source.upload(fn=resize, inputs=source, outputs=source)
|
71 |
target_1.upload(fn=resize, inputs=target_1, outputs=target_1)
|
72 |
target_2.upload(fn=resize, inputs=target_2, outputs=target_2)
|
|
|
66 |
btn = gr.Button("Get the haircut")
|
67 |
with gr.Column():
|
68 |
output = gr.Image(label="Your result")
|
69 |
+
gr.Examples(examples=[["michael_cera-min.png", "leo_square-min.png", "pink_hair_celeb-min.png"]], inputs=[source, target_1, target_2], outputs=output)
|
70 |
source.upload(fn=resize, inputs=source, outputs=source)
|
71 |
target_1.upload(fn=resize, inputs=target_1, outputs=target_1)
|
72 |
target_2.upload(fn=resize, inputs=target_2, outputs=target_2)
|