Antoine245 commited on
Commit
0072ece
·
1 Parent(s): ade31c0

Update app.py

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