Spaces:
Running
on
Zero
Running
on
Zero
Sync from GitHub repo
Browse filesThis Space is synced from the GitHub repo: https://github.com/SWivid/F5-TTS. Please submit contributions to the Space there
src/f5_tts/infer/infer_cli.py
CHANGED
@@ -22,6 +22,7 @@ from f5_tts.infer.utils_infer import (
|
|
22 |
sway_sampling_coef,
|
23 |
speed,
|
24 |
fix_duration,
|
|
|
25 |
infer_process,
|
26 |
load_model,
|
27 |
load_vocoder,
|
@@ -207,7 +208,7 @@ cfg_strength = args.cfg_strength or config.get("cfg_strength", cfg_strength)
|
|
207 |
sway_sampling_coef = args.sway_sampling_coef or config.get("sway_sampling_coef", sway_sampling_coef)
|
208 |
speed = args.speed or config.get("speed", speed)
|
209 |
fix_duration = args.fix_duration or config.get("fix_duration", fix_duration)
|
210 |
-
device = args.device
|
211 |
|
212 |
|
213 |
# patches for pip pkg user
|
|
|
22 |
sway_sampling_coef,
|
23 |
speed,
|
24 |
fix_duration,
|
25 |
+
device,
|
26 |
infer_process,
|
27 |
load_model,
|
28 |
load_vocoder,
|
|
|
208 |
sway_sampling_coef = args.sway_sampling_coef or config.get("sway_sampling_coef", sway_sampling_coef)
|
209 |
speed = args.speed or config.get("speed", speed)
|
210 |
fix_duration = args.fix_duration or config.get("fix_duration", fix_duration)
|
211 |
+
device = args.device or config.get("device", device)
|
212 |
|
213 |
|
214 |
# patches for pip pkg user
|