Spaces:
Runtime error
Runtime error
gokaygokay
commited on
Commit
•
7b1b238
1
Parent(s):
a411e80
Update app.py
Browse files
app.py
CHANGED
@@ -236,7 +236,7 @@ with gr.Blocks(theme='bethecloud/storj_theme') as iface:
|
|
236 |
mask_img = gr.Image(label="Mask Image", type="numpy", height=300)
|
237 |
with gr.Row():
|
238 |
with gr.Column():
|
239 |
-
method = gr.Radio(["Laplacian", "
|
240 |
with gr.Column():
|
241 |
blend_button = gr.Button("Blend Images")
|
242 |
|
@@ -250,7 +250,7 @@ with gr.Blocks(theme='bethecloud/storj_theme') as iface:
|
|
250 |
|
251 |
gr.Examples(
|
252 |
examples=[
|
253 |
-
["img1.jpg", "img2.jpg", "mask1.jpg", "
|
254 |
["img3.jpg", "img4.jpg", "mask2.jpg", "Mixed Gradient"],
|
255 |
["img6.jpg", "img9.jpg", "mask3.jpg", "Laplacian"]
|
256 |
],
|
|
|
236 |
mask_img = gr.Image(label="Mask Image", type="numpy", height=300)
|
237 |
with gr.Row():
|
238 |
with gr.Column():
|
239 |
+
method = gr.Radio(["Laplacian", "Mixed Gradient"], label="Blending Method", value="Laplacian")
|
240 |
with gr.Column():
|
241 |
blend_button = gr.Button("Blend Images")
|
242 |
|
|
|
250 |
|
251 |
gr.Examples(
|
252 |
examples=[
|
253 |
+
["img1.jpg", "img2.jpg", "mask1.jpg", "Mixed Gradient"],
|
254 |
["img3.jpg", "img4.jpg", "mask2.jpg", "Mixed Gradient"],
|
255 |
["img6.jpg", "img9.jpg", "mask3.jpg", "Laplacian"]
|
256 |
],
|