File size: 165 Bytes
3c61207
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
import gradio as gr
import time


def waiter(*args):
  time.sleep(10)
  return "Hello after 10 sec"


gr.Interface(waiter, "text", "text").launch(enable_queue=True)