oniati commited on
Commit
8e0c9f5
1 Parent(s): 6b81e12

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -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
-
21
  os.system("python3 -m pip install -e .")
22
  os.system("pip install tensorflow_cpu")
23
  # copy checkpoints
@@ -59,7 +59,7 @@ from mt3 import note_sequences
59
  from mt3 import preprocessors
60
  from mt3 import spectrograms
61
  from mt3 import vocabularies
62
-
63
 
64
  import nest_asyncio
65
  nest_asyncio.apply()
 
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("python3 -m pip install jax[cuda11_local] nest-asyncio pyfluidsynth==1.3.0 -e . -f https://storage.googleapis.com/jax-releases/jax_cuda_releases.html")
21
  os.system("python3 -m pip install -e .")
22
  os.system("pip install tensorflow_cpu")
23
  # copy checkpoints
 
59
  from mt3 import preprocessors
60
  from mt3 import spectrograms
61
  from mt3 import vocabularies
62
+ from google.colab import files
63
 
64
  import nest_asyncio
65
  nest_asyncio.apply()