Update app.py
Browse files
app.py
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
import time
|
2 |
import gradio as gr
|
3 |
|
4 |
-
def
|
5 |
for i in range(len(message)):
|
6 |
yield "You typed: " + message[: i+1]
|
7 |
|
8 |
|
9 |
-
gr.ChatInterface(
|
|
|
1 |
import time
|
2 |
import gradio as gr
|
3 |
|
4 |
+
def slow_echo(message, history):
|
5 |
for i in range(len(message)):
|
6 |
yield "You typed: " + message[: i+1]
|
7 |
|
8 |
|
9 |
+
gr.ChatInterface(slow_echo).launch()
|