Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(text): | |
return "Hello " + text + "!!" | |
textbox = gr.Textbox(lines=5,label="Enter text to chat with") | |
iface = gr.Interface(fn=greet, inputs=textbox, outputs="text") | |
iface.launch() | |