File size: 168 Bytes
c3e79bb
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
import time
import gradio as gr

def spell(x):
    for i in range(len(x)):
        time.sleep(1)
        yield x[:i]

gr.Interface(spell, "textbox", "textbox").launch()