r0seyyyd33p commited on
Commit
66f4715
1 Parent(s): 56db8a6

Upload download_files.py

Browse files
Files changed (1) hide show
  1. download_files.py +7 -7
download_files.py CHANGED
@@ -1,14 +1,14 @@
1
  import subprocess, os
2
- assets_folder = "./"
3
  if not os.path.exists(assets_folder):
4
  os.makedirs(assets_folder)
5
 
6
- subprocess.run(['wget', 'https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip', '-O', './memfix.zip'], check=True)
7
- subprocess.run(['unzip', './memfix.zip'])
8
- subprocess.run(['git', 'clone', 'https://github.com/nolanaatama/microsoftexcel-controlnet', './microsoftexcel/extensions/microsoftexcel-controlnet'])
9
- subprocess.run(['git', 'clone', 'https://github.com/Bing-su/adetailer', './microsoftexcel/extensions/adetailer'])
10
- subprocess.run(['git', 'clone', 'https://huggingface.co/Bingsu/adetailer', './microsoftexcel/models/adetailer'])
11
- subprocess.run(['wget', 'https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip', '-O', './microsoftexcel/extensions/microsoftexcel-images-browser.zip'], check=True)
12
 
13
  # files = {
14
  # "microsoftexcel/extensions/microsoftexcel-images-browser.zip":"https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip",
 
1
  import subprocess, os
2
+ assets_folder = ""
3
  if not os.path.exists(assets_folder):
4
  os.makedirs(assets_folder)
5
 
6
+ subprocess.run(['wget', 'https://github.com/nolanaatama/microsoftexcel/raw/main/memfix.zip', '-O', 'memfix.zip'], check=True)
7
+ subprocess.run(['unzip', 'memfix.zip'])
8
+ subprocess.run(['git', 'clone', 'https://github.com/nolanaatama/microsoftexcel-controlnet', 'microsoftexcel/extensions/microsoftexcel-controlnet'])
9
+ subprocess.run(['git', 'clone', 'https://github.com/Bing-su/adetailer', 'microsoftexcel/extensions/adetailer'])
10
+ subprocess.run(['git', 'clone', 'https://huggingface.co/Bingsu/adetailer', 'microsoftexcel/models/adetailer'])
11
+ subprocess.run(['wget', 'https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip', '-O', 'microsoftexcel/extensions/microsoftexcel-images-browser.zip'], check=True)
12
 
13
  # files = {
14
  # "microsoftexcel/extensions/microsoftexcel-images-browser.zip":"https://huggingface.co/nolanaatama/colab/resolve/main/microsoftexcel-images-browser.zip",