From c84758af56e6b2445051844655b0d0386b91a7b5 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Sun, 27 Nov 2022 15:00:37 -0800 Subject: [PATCH] list, not tuple --- gptc/compiler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gptc/compiler.py b/gptc/compiler.py index 9ce5ac4..c67aeee 100755 --- a/gptc/compiler.py +++ b/gptc/compiler.py @@ -41,7 +41,7 @@ def compile( word_counts: Dict[int, Dict[str, int]] = {} - names = tuple(categories.keys()) + names = list(categories.keys()) for category, text in categories.items(): for word in text: