Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
|
@@ -271,7 +271,7 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 271 |
with gr.Column():
|
| 272 |
with gr.Row():
|
| 273 |
product_image = gr.Image(
|
| 274 |
-
label="Product image (background auto removed)" type="pil"
|
| 275 |
)
|
| 276 |
image_background = gr.Image(label="Background Image", type="pil", visible=True)
|
| 277 |
prompt = gr.Textbox(label="Prompt")
|
|
@@ -290,9 +290,9 @@ with gr.Blocks(theme=gr.themes.Citrus(), css=css) as demo:
|
|
| 290 |
examples=[
|
| 291 |
[["product.png"], "wednesday.png", "put the product in her hand"],
|
| 292 |
[[], "fusion_car.png", ""],
|
| 293 |
-
[["product_2.png"], "background_2.png", ""],
|
| 294 |
-
[[], "fusion_shoes.png", ""],
|
| 295 |
-
[["product_3.png"], "background_3.png", ""],
|
| 296 |
],
|
| 297 |
inputs=[product_image, image_background, prompt],
|
| 298 |
outputs=[result, seed],
|
|
|
|
| 271 |
with gr.Column():
|
| 272 |
with gr.Row():
|
| 273 |
product_image = gr.Image(
|
| 274 |
+
label="Product image (background auto removed)", type="pil"
|
| 275 |
)
|
| 276 |
image_background = gr.Image(label="Background Image", type="pil", visible=True)
|
| 277 |
prompt = gr.Textbox(label="Prompt")
|
|
|
|
| 290 |
examples=[
|
| 291 |
[["product.png"], "wednesday.png", "put the product in her hand"],
|
| 292 |
[[], "fusion_car.png", ""],
|
| 293 |
+
[["product_2.png"], "background_2.png", "Seamlessly merge the product into the background"],
|
| 294 |
+
[[], "fusion_shoes.png", "put the shoes on the feet"],
|
| 295 |
+
[["product_3.png"], "background_3.png", "Seamlessly merge the product into the background"],
|
| 296 |
],
|
| 297 |
inputs=[product_image, image_background, prompt],
|
| 298 |
outputs=[result, seed],
|