tonyassi's picture
Update app.py
1163202
raw
history blame
416 Bytes
import gradio as gr
def greet(description,color):
print(color)
return description
iface = gr.Interface(fn=greet,
inputs=[gr.Textbox(label='Description'),
gr.Dropdown(label='Color',choices=['Beige','Black','Blue','Brown','Green','Grey','Orange','Pink','Purple','Red','White','Yellow'],multiselect=True)],
outputs="text")
iface.launch()