bedead commited on
Commit
5fb2341
1 Parent(s): 45c2198

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -56,7 +56,7 @@ examples = [
56
  ["gradio_examples/images/3.jpg", "gradio_examples/masks/3.png", 464],
57
  ]
58
 
59
- with gr.Blocks(theme="gradio/monochrome") as demo:
60
  gr.Markdown("<h1 style='text-align:center'>CLIPAway: Harmonizing Focused Embeddings for Removing Objects via Diffusion Models</h1>")
61
  gr.Markdown("""
62
  <div style='display:flex; justify-content:center; align-items:center;'>
@@ -79,7 +79,7 @@ with gr.Blocks(theme="gradio/monochrome") as demo:
79
 
80
  with gr.Row():
81
  with gr.Column():
82
- image_input = gr.ImageMask(label="Upload Image and Sketch Mask", type="pil")
83
  seed_input = gr.Number(value=42, label="Seed")
84
  process_button = gr.Button("Remove Object")
85
  with gr.Column():
 
56
  ["gradio_examples/images/3.jpg", "gradio_examples/masks/3.png", 464],
57
  ]
58
 
59
+ with gr.Blocks() as demo:
60
  gr.Markdown("<h1 style='text-align:center'>CLIPAway: Harmonizing Focused Embeddings for Removing Objects via Diffusion Models</h1>")
61
  gr.Markdown("""
62
  <div style='display:flex; justify-content:center; align-items:center;'>
 
79
 
80
  with gr.Row():
81
  with gr.Column():
82
+ image_input = gr.ImageMask(label="Upload Image and Sketch Mask", height=700, layers=False)
83
  seed_input = gr.Number(value=42, label="Seed")
84
  process_button = gr.Button("Remove Object")
85
  with gr.Column():