Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -412,17 +412,16 @@ with gr.Blocks(css="style.css") as demo:
|
|
| 412 |
with gr.Column():
|
| 413 |
with gr.Row():
|
| 414 |
with gr.Column():
|
| 415 |
-
with gr.Row():
|
| 416 |
-
gr.Markdown("""Click below to sample a new identity-encoding model.""")
|
| 417 |
|
| 418 |
-
with gr.Row():
|
| 419 |
-
sample = gr.Button("🎲 Sample New Model")
|
| 420 |
|
| 421 |
gr.Markdown("""Or upload an image and optionally draw over the face to define a mask. Then click `invert`. """)
|
| 422 |
input_image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type='pil', label="Upload image and draw to define mask",
|
| 423 |
height=512, width=512, brush_color='#00FFFF', mask_opacity=0.6)
|
| 424 |
|
| 425 |
with gr.Row():
|
|
|
|
| 426 |
invert_button = gr.Button("⬆️ Invert")
|
| 427 |
|
| 428 |
|
|
|
|
| 412 |
with gr.Column():
|
| 413 |
with gr.Row():
|
| 414 |
with gr.Column():
|
| 415 |
+
#with gr.Row():
|
| 416 |
+
#gr.Markdown("""Click below to sample a new identity-encoding model.""")
|
| 417 |
|
|
|
|
|
|
|
| 418 |
|
| 419 |
gr.Markdown("""Or upload an image and optionally draw over the face to define a mask. Then click `invert`. """)
|
| 420 |
input_image = gr.Image(source='upload', elem_id="image_upload", tool='sketch', type='pil', label="Upload image and draw to define mask",
|
| 421 |
height=512, width=512, brush_color='#00FFFF', mask_opacity=0.6)
|
| 422 |
|
| 423 |
with gr.Row():
|
| 424 |
+
sample = gr.Button("🎲 Sample New Model")
|
| 425 |
invert_button = gr.Button("⬆️ Invert")
|
| 426 |
|
| 427 |
|