multimodalart HF staff commited on
Commit
293a1c7
1 Parent(s): 2ceb071

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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=update, inputs=inp, outputs=out)
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()