import gradio as gr import time def greet(name): return "Hello " + name + "!!" print("sleep...") # time.sleep(50) iface = gr.Interface(fn=greet, inputs="text", outputs="text") iface.launch(server_port=12345)