admin commited on
Commit
dda2a55
1 Parent(s): d0e316a
Files changed (2) hide show
  1. app.py +2 -2
  2. utils.py +2 -2
app.py CHANGED
@@ -194,8 +194,8 @@ if __name__ == "__main__":
194
  with gr.Blocks() as demo:
195
  gr.Markdown(
196
  """
197
- <center>欢迎使用此创空间, 此创空间由bilibili <a href="https://space.bilibili.com/30620472">@亦真亦幻Studio</a> 基于 Tunesformer 开源项目制作,完全免费。</center>
198
- <center>Welcome to this space made by bilibili <a href="https://space.bilibili.com/30620472">@MuGeminorum</a> based on the Tunesformer open source project, which is totally free!</center>"""
199
  )
200
  with gr.Row():
201
  with gr.Column():
 
194
  with gr.Blocks() as demo:
195
  gr.Markdown(
196
  """
197
+ <center>欢迎使用此创空间, 此创空间基于 Tunesformer 开源项目制作,完全免费。</center>
198
+ <center>Welcome to this space based on the Tunesformer open source project, which is totally free!</center>"""
199
  )
200
  with gr.Row():
201
  with gr.Column():
utils.py CHANGED
@@ -15,7 +15,7 @@ TEYVAT = {
15
  "枫丹 Fontaine": "Fontaine",
16
  }
17
  WEIGHTS_PATH = (
18
- snapshot_download("MuGeminorum/hoyoMusic", cache_dir="./__pycache__")
19
  + "/weights.pth"
20
  )
21
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
@@ -57,7 +57,7 @@ if sys.platform.startswith("linux"):
57
  extra_dir = "squashfs-root"
58
  download(
59
  filename=apkname,
60
- url="https://www.modelscope.cn/studio/MuGeminorum/piano_transcription/resolve/master/MuseScore.AppImage",
61
  )
62
  if not os.path.exists(extra_dir):
63
  subprocess.run(["chmod", "+x", f"./{apkname}"])
 
15
  "枫丹 Fontaine": "Fontaine",
16
  }
17
  WEIGHTS_PATH = (
18
+ snapshot_download("MuGemSt/hoyoMusic", cache_dir="./__pycache__")
19
  + "/weights.pth"
20
  )
21
  DEVICE = torch.device("cuda" if torch.cuda.is_available() else "cpu")
 
57
  extra_dir = "squashfs-root"
58
  download(
59
  filename=apkname,
60
+ url="https://www.modelscope.cn/studio/MuGemSt/piano_transcription/resolve/master/MuseScore.AppImage",
61
  )
62
  if not os.path.exists(extra_dir):
63
  subprocess.run(["chmod", "+x", f"./{apkname}"])