Spaces:
Runtime error
Runtime error
syntax fix
Browse files
model.py
CHANGED
@@ -58,7 +58,7 @@ class VirTexModel():
|
|
58 |
subreddit_tokens = (
|
59 |
[self.model.sos_index] +
|
60 |
self.tokenizer.encode(subreddit_tokens) +
|
61 |
-
[tokenizer.token_to_id("[SEP]")]
|
62 |
)
|
63 |
|
64 |
|
|
|
58 |
subreddit_tokens = (
|
59 |
[self.model.sos_index] +
|
60 |
self.tokenizer.encode(subreddit_tokens) +
|
61 |
+
[self.tokenizer.token_to_id("[SEP]")]
|
62 |
)
|
63 |
|
64 |
|