gaur3009 commited on
Commit
2762b4d
·
verified ·
1 Parent(s): 8d74f5e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
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.Radio(choices=["Red", "Blue", "Green", "Yellow", "Purple", "Orange", "Cyan", "Magenta", "White", "Black"], label="Choose New Dress Color")
 
 
130
  ],
131
- outputs=gr.Image(type = "pil", label="Color Changed Dress"),
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
  )