Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -126,9 +126,11 @@ demo = gr.Interface(
|
|
126 |
fn=change_dress_color,
|
127 |
inputs=[
|
128 |
gr.Image(type = "pil", label="Upload Dress Image"),
|
129 |
-
gr.
|
|
|
|
|
130 |
],
|
131 |
-
outputs=gr.Image(type
|
132 |
title="AI-Powered Dress Color Changer",
|
133 |
description="Upload an image of a dress and select a new color. The AI will change the dress color naturally while keeping the fabric texture."
|
134 |
)
|
|
|
126 |
fn=change_dress_color,
|
127 |
inputs=[
|
128 |
gr.Image(type = "pil", label="Upload Dress Image"),
|
129 |
+
gr.Dropdown(choices=["Red", "Blue", "Green", "Yellow", "Purple", "Orange", "Cyan", "Magenta", "White", "Black"],
|
130 |
+
label="Choose New Dress Color",
|
131 |
+
value="Red")
|
132 |
],
|
133 |
+
outputs=gr.Image(type="pil", label="Color Changed Dress"),
|
134 |
title="AI-Powered Dress Color Changer",
|
135 |
description="Upload an image of a dress and select a new color. The AI will change the dress color naturally while keeping the fabric texture."
|
136 |
)
|