Cran-May commited on
Commit
1fdd22e
1 Parent(s): f476afd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -81,7 +81,7 @@ def Assistant(
81
  tokens.extend(message_tokens)
82
 
83
  last_user_message = history[-1][0]
84
- message_tokens = get_message_tokens(model=model, role="User", content=last_User_message,)
85
  tokens.extend(message_tokens)
86
 
87
  role_tokens = [model.token_bos(), BOT_TOKEN, LINEBREAK_TOKEN]
 
81
  tokens.extend(message_tokens)
82
 
83
  last_user_message = history[-1][0]
84
+ message_tokens = get_message_tokens(model=model, role="User", content=last_user_message,)
85
  tokens.extend(message_tokens)
86
 
87
  role_tokens = [model.token_bos(), BOT_TOKEN, LINEBREAK_TOKEN]