oniati commited on
Commit
379173b
·
1 Parent(s): 48de5c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/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 .")
@@ -17,7 +17,7 @@ os.system("python3 -m pip install --upgrade pip")
17
  # install mt3
18
  os.system("git clone --branch=main https://github.com/magenta/mt3")
19
  os.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")
20
- os.system("sed -i 's:jax\[tpu\]:jax:' setup.py")
21
  os.system("python3 -m pip install -e .")
22
  os.system("pip install tensorflow_cpu")
23
  # copy checkpoints
 
6
  os.system("pip install gsutil")
7
 
8
 
9
+ os.system("git clone --branch=main https://github.com/google-research/t5x#egg=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 .")
 
17
  # install mt3
18
  os.system("git clone --branch=main https://github.com/magenta/mt3")
19
  os.system("mv mt3 mt3_tmp; mv mt3_tmp/* .; rm -r mt3_tmp")
20
+
21
  os.system("python3 -m pip install -e .")
22
  os.system("pip install tensorflow_cpu")
23
  # copy checkpoints