Update app.py
Browse files
app.py
CHANGED
@@ -8,7 +8,7 @@ os.system("pip install gsutil")
|
|
8 |
|
9 |
os.system("git clone --branch=main https://github.com/inotiawu/t5x")
|
10 |
os.system("mv t5x t5x_tmp; mv t5x_tmp/* .; rm -r t5x_tmp")
|
11 |
-
|
12 |
os.system("python3 -m pip install -e .")
|
13 |
os.system("python3 -m pip install --upgrade pip")
|
14 |
|
@@ -33,7 +33,7 @@ os.system("gsutil -q -m cp gs://magentadata/soundfonts/SGM-v2.01-Sal-Guit-Bass-V
|
|
33 |
|
34 |
import functools
|
35 |
import os
|
36 |
-
|
37 |
import numpy as np
|
38 |
import tensorflow.compat.v2 as tf
|
39 |
|
|
|
8 |
|
9 |
os.system("git clone --branch=main https://github.com/inotiawu/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 .")
|
13 |
os.system("python3 -m pip install --upgrade pip")
|
14 |
|
|
|
33 |
|
34 |
import functools
|
35 |
import os
|
36 |
+
import jax
|
37 |
import numpy as np
|
38 |
import tensorflow.compat.v2 as tf
|
39 |
|