hf-lin commited on
Commit
c8c4c6a
β€’
1 Parent(s): 19d4c67

fix fuse bug

Browse files
Files changed (2) hide show
  1. app.py +7 -6
  2. 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>&nbsp |
189
- &nbsp<a href="https://github.com/hf-lin/ChatMusician">πŸ’» Github</a></center>&nbsp |
190
- &nbsp<a href="http://arxiv.org/abs/2402.16153">πŸ“– arXiv</a></center>&nbsp |
191
- &nbsp<a href="https://huggingface.co/datasets/m-a-p/MusicTheoryBench">πŸ€— Benchmark</a></center>&nbsp |
192
- &nbsp<a href="https://huggingface.co/datasets/m-a-p/MusicPile">πŸ€— Pretrain Dataset</a></center>&nbsp |
193
- &nbsp<a href="https://huggingface.co/datasets/m-a-p/MusicPile-sft">πŸ€— SFT Dataset</a></center>&nbsp |""")
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>&nbsp |
190
+ &nbsp<a href="https://github.com/hf-lin/ChatMusician">πŸ’» Github</a>&nbsp |
191
+ &nbsp<a href="http://arxiv.org/abs/2402.16153">πŸ“– arXiv</a>&nbsp |
192
+ &nbsp<a href="https://huggingface.co/datasets/m-a-p/MusicTheoryBench">πŸ€— Benchmark</a>&nbsp |
193
+ &nbsp<a href="https://huggingface.co/datasets/m-a-p/MusicPile">πŸ€— Pretrain Dataset</a>&nbsp |
194
+ &nbsp<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