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

Update app.py

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