Update app.py
Browse files
app.py
CHANGED
@@ -11,8 +11,8 @@ 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 |
-
|
15 |
-
|
16 |
|
17 |
# install mt3
|
18 |
os.system("git clone --branch=main https://github.com/magenta/mt3")
|
@@ -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()
|
|
|
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 |
+
os.system("pip install langchain")
|
15 |
+
os.system("pip install sentence-transformers")
|
16 |
|
17 |
# install mt3
|
18 |
os.system("git clone --branch=main https://github.com/magenta/mt3")
|
|
|
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()
|