tonyassi commited on
Commit
42528e1
·
1 Parent(s): 4342456

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
 
3
 
4
- def greet(description,color):
5
 
6
  final = 'white background '
7
 
@@ -16,7 +16,7 @@ def greet(description,color):
16
  iface = gr.Interface(fn=greet,
17
  inputs=[gr.Textbox(label='Description'),
18
  gr.Dropdown(label='Color',choices=['Beige','Black','Blue','Brown','Green','Grey','Orange','Pink','Purple','Red','White','Yellow'],multiselect=True),
19
- gr.Dropdown(label='Color',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)
20
  ],
21
  outputs="text")
22
  iface.launch()
 
1
  import gradio as gr
2
 
3
 
4
+ def greet(description,color,features):
5
 
6
  final = 'white background '
7
 
 
16
  iface = gr.Interface(fn=greet,
17
  inputs=[gr.Textbox(label='Description'),
18
  gr.Dropdown(label='Color',choices=['Beige','Black','Blue','Brown','Green','Grey','Orange','Pink','Purple','Red','White','Yellow'],multiselect=True),
19
+ gr.Dropdown(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)
20
  ],
21
  outputs="text")
22
  iface.launch()