Spaces:
Sleeping
Sleeping
import time | |
import gradio as gr | |
def greet(name): | |
time.sleep(10) | |
return "Hello " + name + "!!" | |
iface = gr.Interface(fn=greet, inputs="text", outputs="text") | |
iface.launch() | |