Rijgersberg commited on
Commit
6d0888e
1 Parent(s): b590e2a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -69,7 +69,7 @@ def generate(
69
  top_p):
70
 
71
  conversation = [{"role": "system", "content": system_message}]
72
- for user, assistant in chat_history:
73
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
74
  conversation.append({"role": "user", "content": message})
75
 
 
69
  top_p):
70
 
71
  conversation = [{"role": "system", "content": system_message}]
72
+ for user, assistant in history:
73
  conversation.extend([{"role": "user", "content": user}, {"role": "assistant", "content": assistant}])
74
  conversation.append({"role": "user", "content": message})
75