Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -445,8 +445,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
445 |
input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Upload image and draw to define mask",
|
446 |
height=512, width=512, brush=gr.Brush(), layers=False)
|
447 |
with gr.Row():
|
448 |
-
sample = gr.Button("Sample New Model")
|
449 |
-
invert_button = gr.Button("Invert")
|
450 |
with gr.Column():
|
451 |
image_slider = ImageSlider(position=0.5, type="pil", height=512, width=512)
|
452 |
# gallery1 = gr.Image(label="Identity from Original Model",height=512, width=512, interactive=False)
|
|
|
445 |
input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Upload image and draw to define mask",
|
446 |
height=512, width=512, brush=gr.Brush(), layers=False)
|
447 |
with gr.Row():
|
448 |
+
sample = gr.Button("🎲 Sample New Model")
|
449 |
+
invert_button = gr.Button("⏪ Invert")
|
450 |
with gr.Column():
|
451 |
image_slider = ImageSlider(position=0.5, type="pil", height=512, width=512)
|
452 |
# gallery1 = gr.Image(label="Identity from Original Model",height=512, width=512, interactive=False)
|