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,17 +1,18 @@
|
||||
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)
|
||||
shared_folder = lollms_paths.personal_path/"shared"
|
||||
shared_folder = lollms_paths.personal_path / "shared"
|
||||
sd_folder = shared_folder / "auto_sd"
|
||||
output_dir = lollms_paths.personal_path / "outputs/sd"
|
||||
output_dir.mkdir(parents=True, exist_ok=True)
|
||||
script_path = sd_folder / "lollms_sd.bat"
|
||||
output_folder = lollms_paths.personal_outputs_path/"audio_out"
|
||||
output_folder = lollms_paths.personal_outputs_path / "audio_out"
|
||||
|
||||
ASCIIColors.red(" ")
|
||||
ASCIIColors.red(" __ _____ __ __ _____ _____ _____ ____ ")
|
||||
@ -24,4 +25,4 @@ ASCIIColors.red(" Forked from Auto1111's Stable diffusion api")
|
||||
ASCIIColors.red(" Integration in lollms by ParisNeo using mix1009's sdwebuiapi ")
|
||||
|
||||
|
||||
subprocess.Popen(str(script_path) +" --share", cwd=sd_folder)
|
||||
subprocess.Popen(str(script_path) + " --share", cwd=sd_folder)
|
||||
|
Reference in New Issue
Block a user