From 730f56aa8767807acfa79ef38a98f7f0d00e3f55 Mon Sep 17 00:00:00 2001 From: mrq Date: Thu, 16 Mar 2023 04:37:49 +0000 Subject: [PATCH] some day I'll get a commit right on the first try --- codes/data/audio/voice_tokenizer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/codes/data/audio/voice_tokenizer.py b/codes/data/audio/voice_tokenizer.py index b1127664..414b196a 100644 --- a/codes/data/audio/voice_tokenizer.py +++ b/codes/data/audio/voice_tokenizer.py @@ -29,7 +29,7 @@ def remove_extraneous_punctuation(word): class VoiceBpeTokenizer: - def __init__(self, vocab_file=DEFAULT_VOCAB_FILE, preprocess=None): + def __init__(self, vocab_file, preprocess=None): if preprocess is None: self.preprocess = vocab_file[-8:] != "ipa.json" else: