File size: 214 Bytes
72b236f
 
 
 
 
 
 
 
 
 
 
 
40b3b6b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import gradio as gr
import asyncio

async def test(x):
  await asyncio.sleep(5)
  return x

with gr.Blocks() as demo:
  i = gr.Textbox()
  o = gr.Textbox()
  i.change(test, i, o)
  
demo.launch(enable_queue=False)