israelweiss commited on
Commit
7678535
·
1 Parent(s): d4d1341

reference image input

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -182,9 +182,7 @@ with image_blocks as demo:
182
  # brush=gr.Brush(colors=["#000000"], color_mode="fixed"),
183
  # )
184
  image = gr.Image(type="pil", label="Input")
185
- ref_image = gr.ImageEditor(sources=["upload"], layers=False, transforms=[],
186
- brush=gr.Brush(colors=["#000000"], color_mode="fixed"),
187
- )
188
  with gr.Row(elem_id="prompt-container", equal_height=True):
189
  with gr.Column():
190
  btn = gr.Button("Replace Background!", elem_id="run_button")
 
182
  # brush=gr.Brush(colors=["#000000"], color_mode="fixed"),
183
  # )
184
  image = gr.Image(type="pil", label="Input")
185
+ ref_image = gr.Image(type="pil", label="Reference Image")
 
 
186
  with gr.Row(elem_id="prompt-container", equal_height=True):
187
  with gr.Column():
188
  btn = gr.Button("Replace Background!", elem_id="run_button")