mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-24 06:46:40 +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.installation_option = installation_option
|
||||
self.configuration_file_path = self.configuration_path/f"config.yaml"
|
||||
# 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.config.save(self.configuration_file_path)
|
||||
self.config.save(self.configuration_path)
|
||||
|
||||
|
||||
def build_extension(self):
|
||||
|
@ -241,7 +241,7 @@ class LollmsSD:
|
||||
ASCIIColors.info("Running on windows")
|
||||
script_path = self.sd_folder / "lollms_sd.bat"
|
||||
if share:
|
||||
subprocess.Popen(script_path+" --share", cwd=self.sd_folder)
|
||||
subprocess.Popen(str(script_path) +" --share", cwd=self.sd_folder)
|
||||
else:
|
||||
subprocess.Popen(script_path, cwd=self.sd_folder)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user