Spaces:
Runtime error
Runtime error
Commit
•
293a1c7
1
Parent(s):
2ceb071
Update app.py
Browse files
app.py
CHANGED
@@ -49,6 +49,6 @@ with gr.Blocks() as demo:
|
|
49 |
btn = gr.Button("Get the haircut")
|
50 |
output = gr.Image(label="Your result")
|
51 |
|
52 |
-
btn.click(fn=
|
53 |
|
54 |
demo.launch()
|
|
|
49 |
btn = gr.Button("Get the haircut")
|
50 |
output = gr.Image(label="Your result")
|
51 |
|
52 |
+
btn.click(fn=swap_hair, inputs=[source, target_1, target_2], outputs=[output])
|
53 |
|
54 |
demo.launch()
|