import gradio as gr | |
def hello_world(name): | |
return f"Hello, {name}!" | |
iface = gr.Interface(fn=hello_world, inputs="text", outputs="text") | |
iface.launch(share=True) |
import gradio as gr | |
def hello_world(name): | |
return f"Hello, {name}!" | |
iface = gr.Interface(fn=hello_world, inputs="text", outputs="text") | |
iface.launch(share=True) |