Antoine245 commited on
Commit
1d67713
·
1 Parent(s): 27e43ec

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ with gr.Blocks() as demo:
39
  bot_message = palm.chat(
40
  context=context,
41
  examples=examples,
42
- messages=history
43
  )
44
  for character in bot_message:
45
  history[-1][1] += character
 
39
  bot_message = palm.chat(
40
  context=context,
41
  examples=examples,
42
+ messages=history[0][1]
43
  )
44
  for character in bot_message:
45
  history[-1][1] += character