mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-20 05:08:00 +00:00
Fixed stuff
This commit is contained in:
parent
8322c381b0
commit
01ec6b724b
@ -42,11 +42,10 @@ class LOLLMSExtension():
|
|||||||
self.configuration_path= self.configuration_path/"config.yaml"
|
self.configuration_path= self.configuration_path/"config.yaml"
|
||||||
|
|
||||||
self.installation_option = installation_option
|
self.installation_option = installation_option
|
||||||
self.configuration_file_path = self.configuration_path/f"config.yaml"
|
|
||||||
# Installation
|
# Installation
|
||||||
if (not self.configuration_file_path.exists() or self.installation_option==InstallOption.FORCE_INSTALL) and self.installation_option!=InstallOption.NEVER_INSTALL:
|
if (not self.configuration_path.exists() or self.installation_option==InstallOption.FORCE_INSTALL) and self.installation_option!=InstallOption.NEVER_INSTALL:
|
||||||
self.install()
|
self.install()
|
||||||
self.config.save(self.configuration_file_path)
|
self.config.save(self.configuration_path)
|
||||||
|
|
||||||
|
|
||||||
def build_extension(self):
|
def build_extension(self):
|
||||||
|
@ -241,7 +241,7 @@ class LollmsSD:
|
|||||||
ASCIIColors.info("Running on windows")
|
ASCIIColors.info("Running on windows")
|
||||||
script_path = self.sd_folder / "lollms_sd.bat"
|
script_path = self.sd_folder / "lollms_sd.bat"
|
||||||
if share:
|
if share:
|
||||||
subprocess.Popen(script_path+" --share", cwd=self.sd_folder)
|
subprocess.Popen(str(script_path) +" --share", cwd=self.sd_folder)
|
||||||
else:
|
else:
|
||||||
subprocess.Popen(script_path, cwd=self.sd_folder)
|
subprocess.Popen(script_path, cwd=self.sd_folder)
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user