From 3634a10aeb99f78ceb42eba169f2221af676fa50 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Thu, 21 Jul 2022 11:49:35 -0700 Subject: [PATCH] Fix another emoji bug --- gptc/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptc/compiler.py b/gptc/compiler.py index 185ab55..a929985 100755 --- a/gptc/compiler.py +++ b/gptc/compiler.py @@ -77,6 +77,6 @@ def compile( model["__names__"] = names model["__ngrams__"] = max_ngram_length model["__version__"] = 3 - model["__emoji__"] = int(tokenizer.has_emoji) + model["__emoji__"] = int(gptc.tokenizer.has_emoji) return model