Commit
·
7678535
1
Parent(s):
d4d1341
reference image input
Browse files
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.
|
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")
|