Chris STC
commited on
Commit
·
de8bf6e
1
Parent(s):
2150067
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ 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 |
-
|
|
|
43 |
history[-1][1] = ""
|
44 |
count = 0
|
45 |
output = ""
|
|
|
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] = ""
|
45 |
count = 0
|
46 |
output = ""
|