import gradio as gr import json def green(t): pass iface = gr.Interface(fn=green, inputs=gr.inputs.Textbox(lines=2, placeholder="Put prompt here")) iface.launch()