Gregniuki commited on
Commit
64c8c4a
·
verified ·
1 Parent(s): 652fbef

Update infer/utils_infer.py

Browse files
Files changed (1) hide show
  1. infer/utils_infer.py +1 -1
infer/utils_infer.py CHANGED
@@ -223,7 +223,7 @@ def load_model(
223
  device=device,
224
  ):
225
  if vocab_file == "":
226
- vocab_file = str(files("f5_tts").joinpath("infer/examples/vocab.txt"))
227
  tokenizer = "custom"
228
 
229
  print("\nvocab : ", vocab_file)
 
223
  device=device,
224
  ):
225
  if vocab_file == "":
226
+ vocab_file = "infer/examples/vocab.txt"
227
  tokenizer = "custom"
228
 
229
  print("\nvocab : ", vocab_file)