File size: 192 Bytes
42f970b
c732a18
 
42f970b
 
 
4eaf1b2
 
 
c732a18
df0aa00
1
2
3
4
5
6
7
8
9
10
11
import time
import gradio as gr

def slow_echo(message, history):
    for i in range(len(message)):
        time.sleep(0.3)
        yield message[: i+1]



gr.ChatInterface(slow_echo).launch()