Antoine245 commited on
Commit
f0191e2
·
1 Parent(s): be31185

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -43,7 +43,7 @@ with gr.Blocks() as demo:
43
  messages=history[-2][0]
44
  )
45
  history[-1][1] = ""
46
- for character in bot_message:
47
  history[-1][1] += character
48
  time.sleep(0.05)
49
  yield history
 
43
  messages=history[-2][0]
44
  )
45
  history[-1][1] = ""
46
+ for character in bot_message.last:
47
  history[-1][1] += character
48
  time.sleep(0.05)
49
  yield history