mirror of
https://github.com/ParisNeo/lollms.git
synced 2025-04-15 22:46:35 +00:00
fix
This commit is contained in:
parent
8463a927c9
commit
53a2c12faf
@ -64,14 +64,13 @@ def install_sd(lollms_app:LollmsApplication):
|
||||
if sd_folder.exists():
|
||||
if show_yes_no_dialog("warning!","I have detected that there is a previous installation of stable diffusion.\nShould I remove it and continue installing?"):
|
||||
shutil.rmtree(sd_folder)
|
||||
elif show_yes_no_dialog("warning!","Continue installation?"):
|
||||
ASCIIColors.cyan("Installing autosd conda environment with python 3.10")
|
||||
create_conda_env("autosd","3.10")
|
||||
ASCIIColors.cyan("Done")
|
||||
return
|
||||
else:
|
||||
elif not show_yes_no_dialog("warning!","Continue installation?"):
|
||||
return
|
||||
|
||||
ASCIIColors.cyan("Installing autosd conda environment with python 3.10")
|
||||
create_conda_env("autosd","3.10")
|
||||
ASCIIColors.cyan("Done")
|
||||
|
||||
subprocess.run(["git", "clone", "https://github.com/ParisNeo/stable-diffusion-webui.git", str(sd_folder)])
|
||||
subprocess.run(["git", "clone", "https://github.com/ParisNeo/SD-CN-Animation.git", str(sd_folder/"extensions/SD-CN-Animation")])
|
||||
if show_yes_no_dialog("warning!","Do you want to install a model from civitai?\nIsuggest dreamshaper xl."):
|
||||
|
Loading…
x
Reference in New Issue
Block a user