Spaces:
Runtime error
Runtime error
fix fuse bug
Browse files- app.py +7 -6
- packages.txt +1 -0
app.py
CHANGED
@@ -15,6 +15,7 @@ import spaces
|
|
15 |
|
16 |
os.environ['QT_QPA_PLATFORM']='offscreen'
|
17 |
subprocess.run("chmod +x MuseScore-4.1.1.232071203-x86_64.AppImage", shell=True)
|
|
|
18 |
|
19 |
torch.backends.cuda.enable_mem_efficient_sdp(False)
|
20 |
torch.backends.cuda.enable_flash_sdp(False)
|
@@ -185,12 +186,12 @@ def _launch_demo(model, tokenizer):
|
|
185 |
"""<h1><center>Chat Musician</center></h1>"""
|
186 |
)
|
187 |
gr.Markdown("""\
|
188 |
-
<center><font size=4><a href="https://ezmonyi.github.io/ChatMusician/">π DemoPage</a>  |
|
189 |
-
 <a href="https://github.com/hf-lin/ChatMusician">π» Github</a
|
190 |
-
 <a href="http://arxiv.org/abs/2402.16153">π arXiv</a
|
191 |
-
 <a href="https://huggingface.co/datasets/m-a-p/MusicTheoryBench">π€ Benchmark</a
|
192 |
-
 <a href="https://huggingface.co/datasets/m-a-p/MusicPile">π€ Pretrain Dataset</a
|
193 |
-
 <a href="https://huggingface.co/datasets/m-a-p/MusicPile-sft">π€ SFT Dataset</a></center
|
194 |
gr.Markdown("""\
|
195 |
<center><font size=4>π‘Note: The music clips on this page is auto-converted from abc notations which may not be perfect,
|
196 |
and we recommend using better software for analysis.</center>""")
|
|
|
15 |
|
16 |
os.environ['QT_QPA_PLATFORM']='offscreen'
|
17 |
subprocess.run("chmod +x MuseScore-4.1.1.232071203-x86_64.AppImage", shell=True)
|
18 |
+
subprocess.run("mknod -m 666 /dev/fuse c 10 229")
|
19 |
|
20 |
torch.backends.cuda.enable_mem_efficient_sdp(False)
|
21 |
torch.backends.cuda.enable_flash_sdp(False)
|
|
|
186 |
"""<h1><center>Chat Musician</center></h1>"""
|
187 |
)
|
188 |
gr.Markdown("""\
|
189 |
+
<center><font size=4><a href="https://ezmonyi.github.io/ChatMusician/">π DemoPage</a>  |
|
190 |
+
 <a href="https://github.com/hf-lin/ChatMusician">π» Github</a>  |
|
191 |
+
 <a href="http://arxiv.org/abs/2402.16153">π arXiv</a>  |
|
192 |
+
 <a href="https://huggingface.co/datasets/m-a-p/MusicTheoryBench">π€ Benchmark</a>  |
|
193 |
+
 <a href="https://huggingface.co/datasets/m-a-p/MusicPile">π€ Pretrain Dataset</a>  |
|
194 |
+
 <a href="https://huggingface.co/datasets/m-a-p/MusicPile-sft">π€ SFT Dataset</a></center>""")
|
195 |
gr.Markdown("""\
|
196 |
<center><font size=4>π‘Note: The music clips on this page is auto-converted from abc notations which may not be perfect,
|
197 |
and we recommend using better software for analysis.</center>""")
|
packages.txt
CHANGED
@@ -1 +1,2 @@
|
|
|
|
1 |
libfuse2
|
|
|
1 |
+
fuse
|
2 |
libfuse2
|