Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -88,7 +88,7 @@ def greet(description,color,features,occasion,type_,face):
|
|
88 |
|
89 |
return image
|
90 |
|
91 |
-
iface = gr.Interface(fn=greet,
|
92 |
inputs=[gr.Textbox(label='Description'),
|
93 |
gr.Dropdown(interactive=True, label='Color',choices=['Beige','Black','Blue','Brown','Green','Grey','Orange','Pink','Purple','Red','White','Yellow'],multiselect=True),
|
94 |
gr.Dropdown(interactive=True, label='Features',choices=['3/4-sleeve','Babydoll','Closed-Back','Corset','Crochet','Cutouts','Draped','Floral','Gloves','Halter','Lace','Long','Long-Sleeve','Midi','No-Slit','Off-The-Shoulder','One-Shoulder','Open-Back','Pockets','Print','Puff-Sleeve','Ruched','Satin','Sequins','Shimmer','Short','Short-Sleeve','Side-Slit','Square-Neck','Strapless','Sweetheart-Neck','Tight','V-Neck','Velvet','Wrap'],multiselect=True),
|
@@ -98,10 +98,10 @@ iface = gr.Interface(fn=greet,
|
|
98 |
],
|
99 |
outputs=gr.Image(type="pil", label="Final Image", width=312, height=512, show_share_button=False),
|
100 |
examples=[['Kailani mesh sequins two piece maxi dress pink',['Pink'],['Cutouts','Long-Sleeve','Sequins','Side-Slit'],['Festival','Party','Prom'],['Maxi-Dresses','Two-Piece-Sets'],'Cat']],
|
101 |
-
title='
|
102 |
description=
|
103 |
"""
|
104 |
-
Design your own
|
105 |
"""
|
106 |
)
|
107 |
iface.launch()
|
|
|
88 |
|
89 |
return image
|
90 |
|
91 |
+
iface = gr.Interface(fn=greet, theme="Nymbo/Nymbo_Theme",
|
92 |
inputs=[gr.Textbox(label='Description'),
|
93 |
gr.Dropdown(interactive=True, label='Color',choices=['Beige','Black','Blue','Brown','Green','Grey','Orange','Pink','Purple','Red','White','Yellow'],multiselect=True),
|
94 |
gr.Dropdown(interactive=True, label='Features',choices=['3/4-sleeve','Babydoll','Closed-Back','Corset','Crochet','Cutouts','Draped','Floral','Gloves','Halter','Lace','Long','Long-Sleeve','Midi','No-Slit','Off-The-Shoulder','One-Shoulder','Open-Back','Pockets','Print','Puff-Sleeve','Ruched','Satin','Sequins','Shimmer','Short','Short-Sleeve','Side-Slit','Square-Neck','Strapless','Sweetheart-Neck','Tight','V-Neck','Velvet','Wrap'],multiselect=True),
|
|
|
98 |
],
|
99 |
outputs=gr.Image(type="pil", label="Final Image", width=312, height=512, show_share_button=False),
|
100 |
examples=[['Kailani mesh sequins two piece maxi dress pink',['Pink'],['Cutouts','Long-Sleeve','Sequins','Side-Slit'],['Festival','Party','Prom'],['Maxi-Dresses','Two-Piece-Sets'],'Cat']],
|
101 |
+
title='Dress Designer',
|
102 |
description=
|
103 |
"""
|
104 |
+
Design your own dress with text!
|
105 |
"""
|
106 |
)
|
107 |
iface.launch()
|