Spaces:
Configuration error
Configuration error
unknown
commited on
Commit
·
96e24d3
1
Parent(s):
1bbec4a
add 8bit and fix some value
Browse files
src/f5_tts/train/finetune_gradio.py
CHANGED
@@ -43,13 +43,6 @@ last_ema = None
|
|
43 |
|
44 |
path_data = str(files("f5_tts").joinpath("../../data"))
|
45 |
path_project_ckpts = str(files("f5_tts").joinpath("../../ckpts"))
|
46 |
-
|
47 |
-
from pathlib import Path
|
48 |
-
|
49 |
-
base_path = Path(__file__).resolve().parent.parent.parent.parent
|
50 |
-
path_data = str(base_path / "data")
|
51 |
-
path_project_ckpts = str(base_path / "ckpts")
|
52 |
-
|
53 |
file_train = "src/f5_tts/train/finetune_cli.py"
|
54 |
|
55 |
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|
|
|
43 |
|
44 |
path_data = str(files("f5_tts").joinpath("../../data"))
|
45 |
path_project_ckpts = str(files("f5_tts").joinpath("../../ckpts"))
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
46 |
file_train = "src/f5_tts/train/finetune_cli.py"
|
47 |
|
48 |
device = "cuda" if torch.cuda.is_available() else "mps" if torch.backends.mps.is_available() else "cpu"
|