mirror of
https://github.com/ParisNeo/lollms-webui.git
synced 2025-06-22 16:58:59 +00:00
upgraded linting
This commit is contained in:
@ -1,21 +1,44 @@
|
||||
from lollms.paths import LollmsPaths
|
||||
from pathlib import Path
|
||||
from ascii_colors import ASCIIColors
|
||||
import subprocess
|
||||
from pathlib import Path
|
||||
|
||||
global_path = Path(__file__).parent.parent.parent/"global_paths_cfg.yaml"
|
||||
from ascii_colors import ASCIIColors
|
||||
from lollms.paths import LollmsPaths
|
||||
|
||||
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"
|
||||
output_folder = lollms_paths.personal_outputs_path / "audio_out"
|
||||
|
||||
ASCIIColors.red(".____ ________ .____ .____ _____ _________ ____ __________________________________ ")
|
||||
ASCIIColors.red("| | \_____ \ | | | | / \ / _____/ \ \/ /\__ ___/\__ ___/ _____/ ")
|
||||
ASCIIColors.red("| | / | \| | | | / \ / \ \_____ \ ______ \ / | | | | \_____ \ ")
|
||||
ASCIIColors.red("| |___/ | \ |___| |___/ Y \/ \ /_____/ / \ | | | | / \ ")
|
||||
ASCIIColors.red("|_______ \_______ /_______ \_______ \____|__ /_______ / /___/\ \ |____| |____| /_______ / ")
|
||||
ASCIIColors.red(" \/ \/ \/ \/ \/ \/ \_/ \/ ")
|
||||
ASCIIColors.red(
|
||||
".____ ________ .____ .____ _____ _________ ____ __________________________________ "
|
||||
)
|
||||
ASCIIColors.red(
|
||||
"| | \_____ \ | | | | / \ / _____/ \ \/ /\__ ___/\__ ___/ _____/ "
|
||||
)
|
||||
ASCIIColors.red(
|
||||
"| | / | \| | | | / \ / \ \_____ \ ______ \ / | | | | \_____ \ "
|
||||
)
|
||||
ASCIIColors.red(
|
||||
"| |___/ | \ |___| |___/ Y \/ \ /_____/ / \ | | | | / \ "
|
||||
)
|
||||
ASCIIColors.red(
|
||||
"|_______ \_______ /_______ \_______ \____|__ /_______ / /___/\ \ |____| |____| /_______ / "
|
||||
)
|
||||
ASCIIColors.red(
|
||||
" \/ \/ \/ \/ \/ \/ \_/ \/ "
|
||||
)
|
||||
|
||||
ASCIIColors.red(" Forked from daswer123's XTTS server")
|
||||
ASCIIColors.red(" Integration in lollms by ParisNeo using daswer123's webapi ")
|
||||
|
||||
subprocess.Popen(["python", "-m", "xtts_api_server", "-o", f"{output_folder}", "-sf", f"{lollms_paths.custom_voices_path}"])
|
||||
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