Hugging Face
Models
Datasets
Spaces
Community
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
Sev-X
/
Test-AI
like
1
Runtime error
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
9f36fad
Test-AI
/
app.py
Sev-X
Update app.py
9f36fad
verified
over 1 year ago
raw
Copy download link
history
blame
Safe
206 Bytes
import
time
import
gradio
as
gr
def
slow_echo
(
message, history
):
for
i
in
range
(
len
(message)):
time.sleep(
0.3
)
yield
"You typed: "
+ message[: i+
1
]
gr.ChatInterface(slow_echo).launch()