Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,7 +3,7 @@ import note_seq
|
|
3 |
import numpy as np
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
|
6 |
-
tokenizer = AutoTokenizer.from_pretrained("Katpeeler/
|
7 |
model = AutoModelForCausalLM.from_pretrained("Katpeeler/midi_model_1")
|
8 |
|
9 |
NOTE_LENGTH_16TH_120BPM = 0.25 * 60 / 120
|
|
|
3 |
import numpy as np
|
4 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
5 |
|
6 |
+
tokenizer = AutoTokenizer.from_pretrained("Katpeeler/midi_model_1")
|
7 |
model = AutoModelForCausalLM.from_pretrained("Katpeeler/midi_model_1")
|
8 |
|
9 |
NOTE_LENGTH_16TH_120BPM = 0.25 * 60 / 120
|