tonyassi commited on
Commit
f33c5db
Β·
verified Β·
1 Parent(s): c2b1670

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -13,10 +13,10 @@ with gr.Blocks() as demo:
13
  with gr.Column():
14
  img1 = gr.Image(label='Image 1', type='filepath')
15
  img2 = gr.Image(label='Image 2',type='filepath')
16
- slider = gr.Slider()
17
  btn = gr.Button("Blend")
18
  with gr.Column():
19
- output = gr.Image(label='Result', maximum=1.0, value=0.5)
20
 
21
 
22
  btn.click(fn=blend, inputs=[img1, img2, slider], outputs=output)
 
13
  with gr.Column():
14
  img1 = gr.Image(label='Image 1', type='filepath')
15
  img2 = gr.Image(label='Image 2',type='filepath')
16
+ slider = gr.Slider(label='Weight', maximum=1.0, value=0.5)
17
  btn = gr.Button("Blend")
18
  with gr.Column():
19
+ output = gr.Image(label='Result')
20
 
21
 
22
  btn.click(fn=blend, inputs=[img1, img2, slider], outputs=output)