Spaces:
Running
on
Zero
Running
on
Zero
Update utils.py
Browse files
utils.py
CHANGED
@@ -224,4 +224,5 @@ class ProgressBar:
|
|
224 |
|
225 |
def install_packages():
|
226 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "-U", "pip", "wheel", "setuptools"])
|
227 |
-
subprocess.check_call([sys.executable, "-m", "pip", "install", "
|
|
|
|
224 |
|
225 |
def install_packages():
|
226 |
subprocess.check_call([sys.executable, "-m", "pip", "install", "-U", "pip", "wheel", "setuptools"])
|
227 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "--pre", "torch", "torchvision", "torchaudio", "--index-url", "https://download.pytorch.org/whl/nightly/cu124"])
|
228 |
+
subprocess.check_call([sys.executable, "-m", "pip", "install", "-U", "-r", "requirements.txt"])
|