Swap base model from muscriptor-medium to muscriptor-large
Browse files
app.py
CHANGED
|
@@ -48,9 +48,9 @@ def load_model_zerogpu():
|
|
| 48 |
"""
|
| 49 |
device = torch.device("cuda") # ZeroGPU intercepts this
|
| 50 |
|
| 51 |
-
source = _resolve_source("
|
| 52 |
weights_path = Path(hf_hub_download(
|
| 53 |
-
repo_id="MuScriptor/muscriptor-
|
| 54 |
filename="model.safetensors",
|
| 55 |
))
|
| 56 |
cfg = _resolve_config(source, weights_path)
|
|
@@ -229,10 +229,10 @@ with gr.Blocks() as demo:
|
|
| 229 |
# MuScriptor — Music Transcription (Audio → MIDI)
|
| 230 |
|
| 231 |
Upload a music recording and get a downloadable MIDI file with transcribed notes.
|
| 232 |
-
MuScriptor is a ~
|
| 233 |
developed by [Mirelo](https://www.mirelo.ai/) x [Kyutai](https://kyutai.org/).
|
| 234 |
|
| 235 |
-
[Model card](https://huggingface.co/MuScriptor/muscriptor-
|
| 236 |
"""
|
| 237 |
)
|
| 238 |
|
|
|
|
| 48 |
"""
|
| 49 |
device = torch.device("cuda") # ZeroGPU intercepts this
|
| 50 |
|
| 51 |
+
source = _resolve_source("large")
|
| 52 |
weights_path = Path(hf_hub_download(
|
| 53 |
+
repo_id="MuScriptor/muscriptor-large",
|
| 54 |
filename="model.safetensors",
|
| 55 |
))
|
| 56 |
cfg = _resolve_config(source, weights_path)
|
|
|
|
| 229 |
# MuScriptor — Music Transcription (Audio → MIDI)
|
| 230 |
|
| 231 |
Upload a music recording and get a downloadable MIDI file with transcribed notes.
|
| 232 |
+
MuScriptor is a ~1.3B parameter multi-instrument automatic music transcription model
|
| 233 |
developed by [Mirelo](https://www.mirelo.ai/) x [Kyutai](https://kyutai.org/).
|
| 234 |
|
| 235 |
+
[Model card](https://huggingface.co/MuScriptor/muscriptor-large) · [Code](https://github.com/muscriptor/muscriptor) · [Audio samples](https://muscriptor.github.io)
|
| 236 |
"""
|
| 237 |
)
|
| 238 |
|