mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-06-15 05:48:07 +00:00
New scripts
This commit is contained in:
10
scripts/python/xtts_start.py
Normal file
10
scripts/python/xtts_start.py
Normal file
@ -0,0 +1,10 @@
|
||||
from lollms.paths import LollmsPaths
|
||||
from pathlib import Path
|
||||
from ascii_colors import ASCIIColors
|
||||
import subprocess
|
||||
|
||||
global_path = Path(__file__).parent.parent.parent/"global_paths_cfg.yaml"
|
||||
ASCIIColors.yellow(f"global_path: {global_path}")
|
||||
lollms_paths = LollmsPaths(global_path)
|
||||
output_folder = lollms_paths.personal_outputs_path/"audio_out"
|
||||
subprocess.Popen(["python", "-m", "xtts_api_server", "-o", f"{output_folder}", "-sf", f"{lollms_paths.custom_voices_path}"])
|
Reference in New Issue
Block a user