Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(name): | |
return "Hello " + name | |
# We instantiate the Textbox class | |
textbox = gr.Textbox(label="Type your name here:", placeholder="Rajesh Radhakrishnan", lines=2) | |
gr.Interface(fn=greet, inputs=textbox, outputs="text").launch() |