tonyassi commited on
Commit
121d761
·
1 Parent(s): 650bd40

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -4,6 +4,7 @@ def greet(name):
4
  return "Hello " + name + "!!"
5
 
6
  iface = gr.Interface(fn=greet,
7
- inputs=[gr.Textbox(label='Description'),gr.Textbox(label='Color'),gr.Textbox(label='Features'),gr.Textbox(label='Occasion'),gr.Textbox(label='Type')],
 
8
  outputs="text")
9
  iface.launch()
 
4
  return "Hello " + name + "!!"
5
 
6
  iface = gr.Interface(fn=greet,
7
+ inputs=[gr.Textbox(label='Description'),
8
+ gr.Dropdown(label='Color',choices=['Beige','Black'])],
9
  outputs="text")
10
  iface.launch()