import gradio as gr MSG="v1" gr.Interface(lambda n: MSG, "text", "text", api_name="predict").launch(server_name="0.0.0.0")