import gradio as gr def greet(name): return f"Hello {name}" gr.Interface(greet, "text", "text", api_name="predict").launch(server_name="0.0.0.0")