jadechoghari
commited on
Commit
•
91f1a24
1
Parent(s):
cad8f1b
update readme
Browse files
app.py
CHANGED
@@ -6,11 +6,11 @@ import sys
|
|
6 |
|
7 |
# we will clone the repo and install the dependencies
|
8 |
# NOTE: Still fixing bugs, not release, do not try :) !
|
9 |
-
os.system('pip install -r qa_mdt/requirements.txt')
|
10 |
-
os.system('pip install xformers==0.0.26.post1')
|
11 |
-
os.system('pip install torchlibrosa==0.0.9 librosa==0.9.2')
|
12 |
-
os.system('pip install -q pytorch_lightning==2.1.3 torchlibrosa==0.0.9 librosa==0.9.2 ftfy==6.1.1 braceexpand')
|
13 |
-
os.system('pip install torch==2.3.0+cu121 torchvision==0.18.0+cu121 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121')
|
14 |
|
15 |
# only then import the necessary modules from qa_mdt
|
16 |
from qa_mdt.pipeline import MOSDiffusionPipeline
|
@@ -45,6 +45,7 @@ Simply enter a description of the music you'd like to hear, and our AI will gene
|
|
45 |
- [Paper](https://arxiv.org/pdf/2405.15863)
|
46 |
- [HuggingFace](https://huggingface.co/jadechoghari/qa_mdt) [@jadechoghari](https://github.com/jadechoghari) 🤗.
|
47 |
|
|
|
48 |
---
|
49 |
|
50 |
"""
|
|
|
6 |
|
7 |
# we will clone the repo and install the dependencies
|
8 |
# NOTE: Still fixing bugs, not release, do not try :) !
|
9 |
+
# os.system('pip install -r qa_mdt/requirements.txt')
|
10 |
+
# os.system('pip install xformers==0.0.26.post1')
|
11 |
+
# os.system('pip install torchlibrosa==0.0.9 librosa==0.9.2')
|
12 |
+
# os.system('pip install -q pytorch_lightning==2.1.3 torchlibrosa==0.0.9 librosa==0.9.2 ftfy==6.1.1 braceexpand')
|
13 |
+
# os.system('pip install torch==2.3.0+cu121 torchvision==0.18.0+cu121 torchaudio==2.3.0 --index-url https://download.pytorch.org/whl/cu121')
|
14 |
|
15 |
# only then import the necessary modules from qa_mdt
|
16 |
from qa_mdt.pipeline import MOSDiffusionPipeline
|
|
|
45 |
- [Paper](https://arxiv.org/pdf/2405.15863)
|
46 |
- [HuggingFace](https://huggingface.co/jadechoghari/qa_mdt) [@jadechoghari](https://github.com/jadechoghari) 🤗.
|
47 |
|
48 |
+
Will take 1 to 2 mins to generate 🎶
|
49 |
---
|
50 |
|
51 |
"""
|