Xianbao QIAN commited on
Commit
4056d34
1 Parent(s): 93e4eee

fix initial msg

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -22,6 +22,8 @@ def generate(
22
  conversation.append({"role": "user", "content": val[0]})
23
  if val[1]:
24
  conversation.append({"role": "assistant", "content": val[1]})
 
 
25
 
26
  outputs = []
27
  for text in sambanova.Streamer(conversation,
 
22
  conversation.append({"role": "user", "content": val[0]})
23
  if val[1]:
24
  conversation.append({"role": "assistant", "content": val[1]})
25
+
26
+ conversation.append({"role": "user", "content": message})
27
 
28
  outputs = []
29
  for text in sambanova.Streamer(conversation,