Antoine245 commited on
Commit
edcae7e
·
1 Parent(s): fef0baa

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
  history[-1][1] = ""
45
  for character in bot_message:
 
39
  bot_message = palm.chat(
40
  context=context,
41
  examples=examples,
42
+ messages=history[0]
43
  )
44
  history[-1][1] = ""
45
  for character in bot_message: