Spaces:
Sleeping
Sleeping
import gradio as gr | |
import time | |
print(gr.__version__) | |
def waiter(*args): | |
time.sleep(10) | |
return "Hello after 10 sec" | |
gr.Interface(waiter, "text", "text").launch(enable_queue=True) | |