multimodalart HF staff commited on
Commit
ce37e49
·
verified ·
1 Parent(s): 5500d6a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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.Image(elem_id="image_upload", tool='sketch', type='pil', label="Reference Identity",
421
- width=512, height=512, brush_color='#00FFFF', mask_opacity=0.4)
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")