test-new-queue / app.py
omerXfaruq's picture
Update app.py
0e2bb8d
raw
history blame
187 Bytes
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)