Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -16,7 +16,7 @@ with gr.Blocks() as demo:
|
|
16 |
slider = gr.Slider()
|
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)
|
|
|
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)
|