mirror of
https://github.com/SWivid/F5-TTS.git
synced 2025-12-29 14:15:18 -08:00
change work dir to F5TTS
This commit is contained in:
@@ -8,8 +8,10 @@ from f5_tts.model import CFM, DiT, Trainer, UNetT
|
||||
from f5_tts.model.dataset import load_dataset
|
||||
from f5_tts.model.utils import get_tokenizer
|
||||
|
||||
os.chdir(str(files("f5_tts").joinpath("../..")))
|
||||
|
||||
@hydra.main(config_path=os.path.join("..", "configs"), config_name=None)
|
||||
|
||||
@hydra.main(version_base="1.3", config_path=str(files("f5_tts").joinpath("configs")), config_name=None)
|
||||
def main(cfg):
|
||||
tokenizer = cfg.model.tokenizer
|
||||
mel_spec_type = cfg.model.mel_spec.mel_spec_type
|
||||
|
||||
Reference in New Issue
Block a user