JuanMa360 commited on
Commit
4eaf1b2
·
1 Parent(s): df0aa00

bugfix: params

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -4,6 +4,8 @@ import gradio as gr
4
  def slow_echo(message, history):
5
  for i in range(len(message)):
6
  time.sleep(0.3)
7
- yield "You typed: " + message[: i+1]
 
 
8
 
9
  gr.ChatInterface(slow_echo).launch()
 
4
  def slow_echo(message, history):
5
  for i in range(len(message)):
6
  time.sleep(0.3)
7
+ yield message[: i+1]
8
+
9
+
10
 
11
  gr.ChatInterface(slow_echo).launch()