Spaces:
Sleeping
Sleeping
import time | |
import gradio as gr | |
def spell(x): | |
i = 0 | |
while True: | |
i += 1 | |
time.sleep(1) | |
yield x[:i] | |
gr.Interface(spell, "textbox", "textbox").launch() |