Hugging Face
Models
Datasets
Spaces
Posts
Docs
Enterprise
Pricing
Log In
Sign Up
Spaces:
ahalamora
/
AQM_Tuhu
like
0
Sleeping
App
Files
Files
Community
Fetching metadata from the HF Docker repository...
main
AQM_Tuhu
/
app.py
ahalamora
Create app.py
60457da
over 1 year ago
raw
Copy download link
history
blame
contribute
delete
Safe
215 Bytes
import
time
import
gradio
as
gr
def
slow_echo
(
message, history
):
for
i
in
range
(
len
(message)):
time.sleep(
0.15
)
yield
"You typed: "
+ message[: i+
1
]
gr.ChatInterface(slow_echo).queue().launch()