Antoine245 commited on
Commit
ab20db0
·
1 Parent(s): ffdaf81

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -22,8 +22,8 @@ examples = [
22
  ]
23
  ]
24
 
25
- user_message = ['']
26
- history = ['']
27
 
28
 
29
  with gr.Blocks() as demo:
@@ -38,7 +38,7 @@ with gr.Blocks() as demo:
38
  bot_message = palm.chat(
39
  context=context,
40
  examples=examples,
41
- messages=history
42
  )
43
  history[-1][1] = ""
44
  for character in bot_message:
 
22
  ]
23
  ]
24
 
25
+ # user_message = ['']
26
+ # history = ['']
27
 
28
 
29
  with gr.Blocks() as demo:
 
38
  bot_message = palm.chat(
39
  context=context,
40
  examples=examples,
41
+ messages=response
42
  )
43
  history[-1][1] = ""
44
  for character in bot_message: