Chris STC commited on
Commit
92e3fdc
·
1 Parent(s): 7b20032

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -39,6 +39,7 @@ with gr.Blocks(theme=theme) as demo:
39
  token_response_header = b"\n\n### Response:"
40
 
41
  tokens = llm2.tokenize(token_instruction_header + token_instruction_text + token_user_header + token_user_text + token_response_header)
 
42
  print(token_instruction_header + token_instruction_text + token_user_header + token_user_text + token_response_header)
43
  print(tokens)
44
  history[-1][1] = ""
 
39
  token_response_header = b"\n\n### Response:"
40
 
41
  tokens = llm2.tokenize(token_instruction_header + token_instruction_text + token_user_header + token_user_text + token_response_header)
42
+ print(instruction)
43
  print(token_instruction_header + token_instruction_text + token_user_header + token_user_text + token_response_header)
44
  print(tokens)
45
  history[-1][1] = ""