Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -413,10 +413,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
413 |
with gr.Row():
|
414 |
with gr.Column():
|
415 |
gr.Markdown("""1) Either sample a new model, or upload an image (optionally draw a mask over the face) and click `invert`. """)
|
416 |
-
gr.
|
417 |
-
|
418 |
-
input_image = gr.Image(source='upload', tool='sketch', type='pil', label="Upload image and draw to define mask",
|
419 |
-
width=512, height=512, brush_color='#00FFFF', mask_opacity=0.4, elem_id="input_image") # height=512, width=512,
|
420 |
|
421 |
with gr.Row():
|
422 |
sample = gr.Button("🎲 Sample New Model")
|
|
|
413 |
with gr.Row():
|
414 |
with gr.Column():
|
415 |
gr.Markdown("""1) Either sample a new model, or upload an image (optionally draw a mask over the face) and click `invert`. """)
|
416 |
+
input_image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type='pil', label="Upload image and draw to define mask",
|
417 |
+
width=512, height=512, brush_color='#00FFFF', mask_opacity=0.4, elem_id="input_image")
|
|
|
|
|
418 |
|
419 |
with gr.Row():
|
420 |
sample = gr.Button("🎲 Sample New Model")
|