Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -473,10 +473,12 @@ with gr.Blocks(css="style.css") as demo:
|
|
473 |
gr.Markdown(""" ❶ Either a) sample a random identity by clicking `🎲 Sample random identity` **or** b) upload an image (optional - draw a mask over the head) then click `⬆️ Insert identity`""")
|
474 |
input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Reference Identity",
|
475 |
width=512, height=512)
|
476 |
-
|
477 |
-
|
|
|
|
|
478 |
sample = gr.Button("🎲 Sample new identity")
|
479 |
-
gr.Markdown("""or""")
|
480 |
invert_button = gr.Button("⬆️ Insert identity")
|
481 |
|
482 |
|
|
|
473 |
gr.Markdown(""" ❶ Either a) sample a random identity by clicking `🎲 Sample random identity` **or** b) upload an image (optional - draw a mask over the head) then click `⬆️ Insert identity`""")
|
474 |
input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Reference Identity",
|
475 |
width=512, height=512)
|
476 |
+
|
477 |
+
|
478 |
+
|
479 |
+
with gr.Row(elem_classes="custom-row"):
|
480 |
sample = gr.Button("🎲 Sample new identity")
|
481 |
+
gr.Markdown("""or""", elem_classes="centered-text")
|
482 |
invert_button = gr.Button("⬆️ Insert identity")
|
483 |
|
484 |
|