list, not tuple
This commit is contained in:
parent
3a9c8d2bf2
commit
c84758af56
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user