mirror of
https://github.com/ParisNeo/lollms.git
synced 2024-12-20 05:08:00 +00:00
update
This commit is contained in:
parent
9a7fb05bfd
commit
36154a7ec4
@ -52,7 +52,10 @@ def install_xtts(lollms_app:LollmsApplication):
|
||||
lollms_app.ShowBlockingMessage("Creating xtts environment")
|
||||
|
||||
# Get the path to the parent directory, which should be the 'bin' directory
|
||||
bin_dir = Path(sys.executable).parent.parent/"miniconda3/condabin"
|
||||
if platform.system()=="Windows":
|
||||
bin_dir = Path(sys.executable).parent.parent/"miniconda3/condabin"
|
||||
else:
|
||||
bin_dir = Path(sys.executable).parent.parent/"miniconda3/bin"
|
||||
if bin_dir.exists():
|
||||
conda_dir = str(bin_dir/ "conda")
|
||||
# For Windows, the activate script has a '.bat' extension
|
||||
|
Loading…
Reference in New Issue
Block a user