TheLastBen commited on
Commit
b3ad617
1 Parent(s): 911a983

Upload 2 files

Browse files
Scripts/mainpaperspacev1.py CHANGED
@@ -347,10 +347,10 @@ def dls(Path_to_HuggingFace, Model_Path, Model_Link):
347
  downloadmodel_hf(Path_to_HuggingFace)
348
  MODEL_NAME="/models/stable-diffusion-custom"
349
  elif Model_Path !="":
350
- downloadmodel_pth(Model_Path)
351
  MODEL_NAME="/models/stable-diffusion-custom"
352
  elif Model_Link !="":
353
- downloadmodel_lnk(Model_Link)
354
  MODEL_NAME="/models/stable-diffusion-custom"
355
  else:
356
  MODEL_NAME="/datasets/stable-diffusion-diffusers/stable-diffusion-v1-5"
 
347
  downloadmodel_hf(Path_to_HuggingFace)
348
  MODEL_NAME="/models/stable-diffusion-custom"
349
  elif Model_Path !="":
350
+ downloadmodel_path(Model_Path)
351
  MODEL_NAME="/models/stable-diffusion-custom"
352
  elif Model_Link !="":
353
+ downloadmodel_link(Model_Link)
354
  MODEL_NAME="/models/stable-diffusion-custom"
355
  else:
356
  MODEL_NAME="/datasets/stable-diffusion-diffusers/stable-diffusion-v1-5"
Scripts/mainpaperspacev2.py CHANGED
@@ -414,10 +414,10 @@ def dlsv2(Path_to_HuggingFace, Model_Path, Model_Link, Model_Version):
414
  downloadmodel_hfv2(Path_to_HuggingFace)
415
  MODEL_NAMEv2="/models/stable-diffusion-custom"
416
  elif Model_Path !="":
417
- downloadmodel_pthv2(Model_Path)
418
  MODEL_NAMEv2="/models/stable-diffusion-custom"
419
  elif Model_Link !="":
420
- downloadmodel_lnkv2(Model_Link)
421
  MODEL_NAMEv2="/models/stable-diffusion-custom"
422
  else:
423
  if Model_Version=="512":
 
414
  downloadmodel_hfv2(Path_to_HuggingFace)
415
  MODEL_NAMEv2="/models/stable-diffusion-custom"
416
  elif Model_Path !="":
417
+ downloadmodel_path_v2(Model_Path)
418
  MODEL_NAMEv2="/models/stable-diffusion-custom"
419
  elif Model_Link !="":
420
+ downloadmodel_link_v2(Model_Link)
421
  MODEL_NAMEv2="/models/stable-diffusion-custom"
422
  else:
423
  if Model_Version=="512":