Update app.py
Browse files
app.py
CHANGED
@@ -6,7 +6,7 @@ from pathlib import Path
|
|
6 |
os.system("pip install gsutil")
|
7 |
|
8 |
|
9 |
-
os.system("git clone --branch=main https://github.com/
|
10 |
os.system("mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp")
|
11 |
os.system("sed -i 's:jax\[tpu\]:jax:' setup.py")
|
12 |
os.system("python3 -m pip install -e .")
|
@@ -18,7 +18,7 @@ os.system("python3 -m pip install --upgrade pip")
|
|
18 |
os.system("git clone --branch=main https://github.com/inotiawu/mt3")
|
19 |
os.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")
|
20 |
os.system("python3 -m pip install -e .")
|
21 |
-
|
22 |
# copy checkpoints
|
23 |
os.system("gsutil -q -m cp -r gs://mt3/checkpoints .")
|
24 |
|
@@ -27,7 +27,7 @@ os.system("gsutil -q -m cp gs://magentadata/soundfonts/SGM-v2.01-Sal-Guit-Bass-V
|
|
27 |
|
28 |
#@title Imports and Definitions
|
29 |
|
30 |
-
|
31 |
|
32 |
|
33 |
|
|
|
6 |
os.system("pip install gsutil")
|
7 |
|
8 |
|
9 |
+
os.system("git clone --branch=main https://github.com/google-research/t5x")
|
10 |
os.system("mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp")
|
11 |
os.system("sed -i 's:jax\[tpu\]:jax:' setup.py")
|
12 |
os.system("python3 -m pip install -e .")
|
|
|
18 |
os.system("git clone --branch=main https://github.com/inotiawu/mt3")
|
19 |
os.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")
|
20 |
os.system("python3 -m pip install -e .")
|
21 |
+
os.system("pip install tensorflow_cpu")
|
22 |
# copy checkpoints
|
23 |
os.system("gsutil -q -m cp -r gs://mt3/checkpoints .")
|
24 |
|
|
|
27 |
|
28 |
#@title Imports and Definitions
|
29 |
|
30 |
+
|
31 |
|
32 |
|
33 |
|