File size: 187 Bytes
3c61207
 
 
0e2bb8d
3c61207
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
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)