Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -417,8 +417,8 @@ with gr.Blocks(css="style.css") as demo:
|
|
417 |
with gr.Column():
|
418 |
gr.Markdown("""1) Either sample a new model, or upload an image (optionally draw a mask over the head) and click `invert`.""")
|
419 |
sample = gr.Button("🎲 Sample New Model")
|
420 |
-
input_image = gr.
|
421 |
-
width=512, height=512
|
422 |
|
423 |
with gr.Row():
|
424 |
invert_button = gr.Button("⬆️ Invert")
|
|
|
417 |
with gr.Column():
|
418 |
gr.Markdown("""1) Either sample a new model, or upload an image (optionally draw a mask over the head) and click `invert`.""")
|
419 |
sample = gr.Button("🎲 Sample New Model")
|
420 |
+
input_image = gr.ImageEditor(elem_id="image_upload", type='pil', label="Reference Identity",
|
421 |
+
width=512, height=512)
|
422 |
|
423 |
with gr.Row():
|
424 |
invert_button = gr.Button("⬆️ Invert")
|