From 3af98f2a52b0ffbfc39968dc20ad79befaf785fb Mon Sep 17 00:00:00 2001 From: unknown Date: Sun, 27 Oct 2024 20:21:12 +0200 Subject: [PATCH] add settings --- src/f5_tts/train/finetune_gradio.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/f5_tts/train/finetune_gradio.py b/src/f5_tts/train/finetune_gradio.py index faaea23..3f2f342 100644 --- a/src/f5_tts/train/finetune_gradio.py +++ b/src/f5_tts/train/finetune_gradio.py @@ -99,7 +99,7 @@ def load_settings(project_name): path_project = os.path.join(path_project_ckpts, project_name) file_setting = os.path.join(path_project, "setting.json") - if os.path.isfile(file_setting) == False: + if not os.path.isfile(file_setting): settings = { "exp_name": "F5TTS_Base", "learning_rate": 1e-05,