| import gradio as gr | |
| def respond(message): | |
| return f"You said: {message}" | |
| iface = gr.Interface(fn=respond, inputs="text", outputs="text") | |
| iface.launch() | |
| import gradio as gr | |
| def respond(message): | |
| return f"You said: {message}" | |
| iface = gr.Interface(fn=respond, inputs="text", outputs="text") | |
| iface.launch() | |