gaur3009 commited on
Commit
71096d7
·
verified ·
1 Parent(s): fde1226

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -125,10 +125,10 @@ def change_dress_color(img, color):
125
  demo = gr.Interface(
126
  fn=change_dress_color,
127
  inputs=[
128
- gr.Image(label="Upload Dress Image"),
129
  gr.Radio(["Red", "Blue", "Green", "Yellow", "Purple", "Orange", "Cyan", "Magenta", "White", "Black"], label="Choose New Dress Color")
130
  ],
131
- outputs=gr.Image(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
  )
 
125
  demo = gr.Interface(
126
  fn=change_dress_color,
127
  inputs=[
128
+ gr.Image(type = "pil", label="Upload Dress Image"),
129
  gr.Radio(["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
  )