Update demos/musicgen_app.py
Browse files- demos/musicgen_app.py +2 -2
demos/musicgen_app.py
CHANGED
|
@@ -5,8 +5,8 @@ import os
|
|
| 5 |
from pathlib import Path
|
| 6 |
import subprocess as sp
|
| 7 |
|
| 8 |
-
sp.run(["pip", "install", "torch==2.6.0", "torchvision==0.21.0", "torchaudio==2.6.0", "--index-url https://download.pytorch.org/whl/cu124"])
|
| 9 |
-
|
| 10 |
import sys
|
| 11 |
import time
|
| 12 |
import typing as tp
|
|
|
|
| 5 |
from pathlib import Path
|
| 6 |
import subprocess as sp
|
| 7 |
|
| 8 |
+
#sp.run(["pip", "install", "torch==2.6.0", "torchvision==0.21.0", "torchaudio==2.6.0", "--index-url https://download.pytorch.org/whl/cu124"])
|
| 9 |
+
sp.run(["bash", "torch.sh"])
|
| 10 |
import sys
|
| 11 |
import time
|
| 12 |
import typing as tp
|