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