Update visomaster/visomaster_install.py
Browse files
visomaster/visomaster_install.py
CHANGED
|
@@ -4,7 +4,6 @@ import requests
|
|
| 4 |
import shutil
|
| 5 |
from tqdm import tqdm
|
| 6 |
|
| 7 |
-
aria2c_url = "https://huggingface.co/datasets/NeuroDonu/PortableSource/resolve/main/aria2c.exe"
|
| 8 |
cuda_url = "https://huggingface.co/datasets/NeuroDonu/PortableSource/resolve/main/CUDA_124.7z"
|
| 9 |
updater_url = "https://huggingface.co/datasets/NeuroDonu/PortableVersions/resolve/main/visomaster/updater.bat"
|
| 10 |
start_url = "https://huggingface.co/datasets/NeuroDonu/PortableVersions/resolve/main/visomaster/start_nvidia.bat"
|
|
@@ -14,7 +13,6 @@ ffmpeg_url = "https://github.com/visomaster/visomaster-assets/releases/download/
|
|
| 14 |
|
| 15 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
| 16 |
visomaster_dir = os.path.join(base_dir, "Visomaster")
|
| 17 |
-
aria2c_exe_path = os.path.join(base_dir, "aria2c.exe")
|
| 18 |
cuda_archive_path = os.path.join(base_dir, "CUDA_124.7z")
|
| 19 |
cuda_extract_dir = os.path.join(base_dir, "CUDA")
|
| 20 |
seven_zip_path = os.path.join(base_dir, "7z.exe")
|
|
@@ -84,10 +82,6 @@ def download_models():
|
|
| 84 |
|
| 85 |
if __name__ == "__main__":
|
| 86 |
clear_terminal()
|
| 87 |
-
if not os.path.exists(aria2c_exe_path):
|
| 88 |
-
download_with_requests(aria2c_url, aria2c_exe_path)
|
| 89 |
-
clear_terminal()
|
| 90 |
-
|
| 91 |
if not os.path.exists(cuda_archive_path):
|
| 92 |
download_with_requests(cuda_url, cuda_archive_path)
|
| 93 |
clear_terminal()
|
|
@@ -106,5 +100,5 @@ if __name__ == "__main__":
|
|
| 106 |
download_ffmpeg()
|
| 107 |
download_models()
|
| 108 |
clear_terminal()
|
| 109 |
-
|
| 110 |
print("Установка завершена!")
|
|
|
|
| 4 |
import shutil
|
| 5 |
from tqdm import tqdm
|
| 6 |
|
|
|
|
| 7 |
cuda_url = "https://huggingface.co/datasets/NeuroDonu/PortableSource/resolve/main/CUDA_124.7z"
|
| 8 |
updater_url = "https://huggingface.co/datasets/NeuroDonu/PortableVersions/resolve/main/visomaster/updater.bat"
|
| 9 |
start_url = "https://huggingface.co/datasets/NeuroDonu/PortableVersions/resolve/main/visomaster/start_nvidia.bat"
|
|
|
|
| 13 |
|
| 14 |
base_dir = os.path.dirname(os.path.abspath(__file__))
|
| 15 |
visomaster_dir = os.path.join(base_dir, "Visomaster")
|
|
|
|
| 16 |
cuda_archive_path = os.path.join(base_dir, "CUDA_124.7z")
|
| 17 |
cuda_extract_dir = os.path.join(base_dir, "CUDA")
|
| 18 |
seven_zip_path = os.path.join(base_dir, "7z.exe")
|
|
|
|
| 82 |
|
| 83 |
if __name__ == "__main__":
|
| 84 |
clear_terminal()
|
|
|
|
|
|
|
|
|
|
|
|
|
| 85 |
if not os.path.exists(cuda_archive_path):
|
| 86 |
download_with_requests(cuda_url, cuda_archive_path)
|
| 87 |
clear_terminal()
|
|
|
|
| 100 |
download_ffmpeg()
|
| 101 |
download_models()
|
| 102 |
clear_terminal()
|
| 103 |
+
|
| 104 |
print("Установка завершена!")
|