3v324v23 commited on
Commit
351c4ca
·
1 Parent(s): 9914366
Stable-diffusion/{grapefruitHentaiModel_grapefruitv4.safetensors → AnimeV2.5.safetensors} RENAMED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:37a86dca587205a76f33ffb7171fbb873f6738397082ba2f36a640182913ad69
3
- size 3851761853
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c3a70ce7665069600c29717374c55cb09b9ad2580d500bcfa2fda63e243d1cd4
3
+ size 7703324291
dl.py CHANGED
@@ -14,11 +14,14 @@ if not os.path.exists('./download_lora.sh') or 'ed06dd2f41a601491642fcaa8a2137ed
14
  print('Downloading ./.gitattributes')
15
  if not os.path.exists('./.gitattributes') or '35efec71055ba0c3b7c7a1bcf499d0922398679a' != hashlib.sha1(open('./.gitattributes', 'rb').read()).hexdigest():
16
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./.gitattributes" --create-dirs -o "././.gitattributes"')
 
 
 
17
  print('Downloading ./download_models.sh')
18
  if not os.path.exists('./download_models.sh') or '0c6f0925da7c4b001b6b956eb628a5a7602d5f3c' != hashlib.sha1(open('./download_models.sh', 'rb').read()).hexdigest():
19
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./download_models.sh" --create-dirs -o "././download_models.sh"')
20
  print('Downloading ./dl.py')
21
- if not os.path.exists('./dl.py') or '53f1d77a7e15d19add0f5024ff75e8a512c35ec5' != hashlib.sha1(open('./dl.py', 'rb').read()).hexdigest():
22
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./dl.py" --create-dirs -o "././dl.py"')
23
  print('Downloading ./loraDown.sh')
24
  if not os.path.exists('./loraDown.sh') or 'd3bb5f2cc2656ec17bf0d5b38029eace13e7a3cd' != hashlib.sha1(open('./loraDown.sh', 'rb').read()).hexdigest():
@@ -26,9 +29,6 @@ if not os.path.exists('./loraDown.sh') or 'd3bb5f2cc2656ec17bf0d5b38029eace13e7a
26
  print('Downloading ./embeddings/embedding.tar.gz')
27
  if not os.path.exists('./embeddings/embedding.tar.gz') or 'abb4641698f9cff30de29025ea0b2fab82ae66da' != hashlib.sha1(open('./embeddings/embedding.tar.gz', 'rb').read()).hexdigest():
28
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./embeddings/embedding.tar.gz" --create-dirs -o "././embeddings/embedding.tar.gz"')
29
- print('Downloading ./Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors')
30
- if not os.path.exists('./Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors') or '658aeb1ba3589da1398e07037956994b570e23a7' != hashlib.sha1(open('./Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors', 'rb').read()).hexdigest():
31
- os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors" --create-dirs -o "././Stable-diffusion/grapefruitHentaiModel_grapefruitv4.safetensors"')
32
  print('Downloading ./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors')
33
  if not os.path.exists('./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors') or '2a9c3945540d8051ea41208a599bb412e8c9cdff' != hashlib.sha1(open('./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors', 'rb').read()).hexdigest():
34
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors" --create-dirs -o "././Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors"')
@@ -41,6 +41,9 @@ if not os.path.exists('./Stable-diffusion/chill-inpaint.inpainting-fp32-ema-only
41
  print('Downloading ./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors')
42
  if not os.path.exists('./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors') or '655092a0b0bbd29f9e50548aeb5ed66cf5a521ee' != hashlib.sha1(open('./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors', 'rb').read()).hexdigest():
43
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors" --create-dirs -o "././Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors"')
 
 
 
44
  print('Downloading ./Lora/pantyPullClothesPull_v10.safetensors')
45
  if not os.path.exists('./Lora/pantyPullClothesPull_v10.safetensors') or '2a5720c7fd3cdcc36816c4c1653ca1c8ea172754' != hashlib.sha1(open('./Lora/pantyPullClothesPull_v10.safetensors', 'rb').read()).hexdigest():
46
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Lora/pantyPullClothesPull_v10.safetensors" --create-dirs -o "././Lora/pantyPullClothesPull_v10.safetensors"')
 
14
  print('Downloading ./.gitattributes')
15
  if not os.path.exists('./.gitattributes') or '35efec71055ba0c3b7c7a1bcf499d0922398679a' != hashlib.sha1(open('./.gitattributes', 'rb').read()).hexdigest():
16
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./.gitattributes" --create-dirs -o "././.gitattributes"')
17
+ print('Downloading ./gen.py')
18
+ if not os.path.exists('./gen.py') or 'd1141d4733ecf0a5827adbaf866d8aa63d4c5006' != hashlib.sha1(open('./gen.py', 'rb').read()).hexdigest():
19
+ os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./gen.py" --create-dirs -o "././gen.py"')
20
  print('Downloading ./download_models.sh')
21
  if not os.path.exists('./download_models.sh') or '0c6f0925da7c4b001b6b956eb628a5a7602d5f3c' != hashlib.sha1(open('./download_models.sh', 'rb').read()).hexdigest():
22
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./download_models.sh" --create-dirs -o "././download_models.sh"')
23
  print('Downloading ./dl.py')
24
+ if not os.path.exists('./dl.py') or '8adf51ba16e1aece1709e9bb8bbd220c3e92714d' != hashlib.sha1(open('./dl.py', 'rb').read()).hexdigest():
25
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./dl.py" --create-dirs -o "././dl.py"')
26
  print('Downloading ./loraDown.sh')
27
  if not os.path.exists('./loraDown.sh') or 'd3bb5f2cc2656ec17bf0d5b38029eace13e7a3cd' != hashlib.sha1(open('./loraDown.sh', 'rb').read()).hexdigest():
 
29
  print('Downloading ./embeddings/embedding.tar.gz')
30
  if not os.path.exists('./embeddings/embedding.tar.gz') or 'abb4641698f9cff30de29025ea0b2fab82ae66da' != hashlib.sha1(open('./embeddings/embedding.tar.gz', 'rb').read()).hexdigest():
31
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./embeddings/embedding.tar.gz" --create-dirs -o "././embeddings/embedding.tar.gz"')
 
 
 
32
  print('Downloading ./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors')
33
  if not os.path.exists('./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors') or '2a9c3945540d8051ea41208a599bb412e8c9cdff' != hashlib.sha1(open('./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors', 'rb').read()).hexdigest():
34
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors" --create-dirs -o "././Stable-diffusion/chilloutmix_NiPrunedFp32Fix.safetensors"')
 
41
  print('Downloading ./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors')
42
  if not os.path.exists('./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors') or '655092a0b0bbd29f9e50548aeb5ed66cf5a521ee' != hashlib.sha1(open('./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors', 'rb').read()).hexdigest():
43
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors" --create-dirs -o "././Stable-diffusion/uberRealisticPornMerge_urpmv12.safetensors"')
44
+ print('Downloading ./Stable-diffusion/AnimeV2.5.safetensors')
45
+ if not os.path.exists('./Stable-diffusion/AnimeV2.5.safetensors') or 'f3f2d05a1577ef0d1bed4935e4a55517beaa4bba' != hashlib.sha1(open('./Stable-diffusion/AnimeV2.5.safetensors', 'rb').read()).hexdigest():
46
+ os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Stable-diffusion/AnimeV2.5.safetensors" --create-dirs -o "././Stable-diffusion/AnimeV2.5.safetensors"')
47
  print('Downloading ./Lora/pantyPullClothesPull_v10.safetensors')
48
  if not os.path.exists('./Lora/pantyPullClothesPull_v10.safetensors') or '2a5720c7fd3cdcc36816c4c1653ca1c8ea172754' != hashlib.sha1(open('./Lora/pantyPullClothesPull_v10.safetensors', 'rb').read()).hexdigest():
49
  os.system('curl -L "https://huggingface.co/AI-Porn/AI-PORN/resolve/main/./Lora/pantyPullClothesPull_v10.safetensors" --create-dirs -o "././Lora/pantyPullClothesPull_v10.safetensors"')
gen.py ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ import hashlib
2
+ import os
3
+ import json
4
+
5
+ sha1s = {}
6
+
7
+
8
+ for root, dirs, files in os.walk("."):
9
+ if ".git" in dirs:
10
+ dirs.remove(".git")
11
+ for name in files:
12
+ file_path = os.path.join(root, name)
13
+ with open(file_path, "rb") as f:
14
+ data = f.read()
15
+ sha1 = hashlib.sha1(data).hexdigest()
16
+ sha1s[file_path] = sha1
17
+
18
+
19
+ with open("dl.py", "w") as f:
20
+ f.write("#!/usr/bin/env python\n\nimport os\nimport hashlib\n")
21
+ for file_path, sha1 in sha1s.items():
22
+ f.write(f"print('Downloading {file_path}')\n")
23
+ f.write(f"if not os.path.exists('{file_path}') or '{sha1}' != hashlib.sha1(open('{file_path}', 'rb').read()).hexdigest():\n")
24
+ f.write(f" os.system('curl -L \"https://huggingface.co/AI-Porn/AI-PORN/resolve/main/{file_path}\" --create-dirs -o \"./{file_path}\"')\n")
25
+
26
+ file_list = {}
27
+ for root, dirs, files in os.walk("."):
28
+ if ".git" in dirs:
29
+ dirs.remove(".git")
30
+ folder_name = os.path.basename(root)
31
+ file_list[folder_name] = files
32
+ file_list[folder_name].extend(dirs)
33
+
34
+ #with open("file_list.json", "w") as f:
35
+ # json.dump(file_list, f)