Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(name): | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, | |
inputs=[gr.Textbox(label='Description'), | |
gr.Dropdown(label='Color',choices=['Beige','Black'])], | |
outputs="text") | |
iface.launch() |