TheLastBen commited on
Commit
8427536
1 Parent(s): 8cf28d9

Upload sdxllorapps.py

Browse files
Files changed (1) hide show
  1. Scripts/sdxllorapps.py +2 -2
Scripts/sdxllorapps.py CHANGED
@@ -731,7 +731,7 @@ def sdcmf(MDLPTH):
731
  call('git pull', shell=True)
732
 
733
  if os.path.exists(MDLPTH):
734
- call('ln -s '+MDLPTH+' models/loras', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
735
 
736
  clean_symlinks('models/loras')
737
 
@@ -773,7 +773,7 @@ def test(MDLPTH, User, Password):
773
 
774
 
775
  if os.path.exists(MDLPTH):
776
- call('ln -s '+MDLPTH+' models/Lora', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
777
 
778
  clean_symlinks('models/Lora')
779
 
 
731
  call('git pull', shell=True)
732
 
733
  if os.path.exists(MDLPTH):
734
+ call('ln -s '+os.path.dirname(MDLPTH)+' models/loras', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
735
 
736
  clean_symlinks('models/loras')
737
 
 
773
 
774
 
775
  if os.path.exists(MDLPTH):
776
+ call('ln -s '+os.path.dirname(MDLPTH)+' models/Lora', shell=True, stdout=open('/dev/null', 'w'), stderr=open('/dev/null', 'w'))
777
 
778
  clean_symlinks('models/Lora')
779