Spaces:
Runtime error
Runtime error
import gradio as gr | |
def greet(prompt): | |
return "Hello " + prompt + "!!" | |
iface = gr.Interface( | |
fn=greet, | |
inputs=gr.Textbox(lines=4, placeholder="Prompt here..."), | |
outputs=gr.Textbox(lines=4), | |
) | |
iface.launch() | |