abidlabs's picture
abidlabs HF staff
Create app.py
72b236f
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()