Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
abidlabs
/
test-yield
like
0
Running
on
CPU Upgrade
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
3230d8b
test-yield
/
app.py
abidlabs
HF Staff
Create app.py
c3e79bb
over 2 years ago
raw
Copy download link
history
blame
Safe
168 Bytes
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()