Spaces:
Runtime error
Runtime error
osanseviero
commited on
Commit
•
ec127c3
1
Parent(s):
13efc84
Update app.py
Browse files
app.py
CHANGED
@@ -1,10 +1,9 @@
|
|
|
|
1 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
2 |
|
3 |
tokenizer = AutoTokenizer.from_pretrained("TristanBehrens/js-fakes-4bars")
|
4 |
model = AutoModelForCausalLM.from_pretrained("TristanBehrens/js-fakes-4bars")
|
5 |
|
6 |
-
import note_seq
|
7 |
-
|
8 |
NOTE_LENGTH_16TH_120BPM = 0.25 * 60 / 120
|
9 |
BAR_LENGTH_120BPM = 4.0 * 60 / 120
|
10 |
SAMPLE_RATE=44100
|
|
|
1 |
+
import note_seq
|
2 |
from transformers import AutoTokenizer, AutoModelForCausalLM
|
3 |
|
4 |
tokenizer = AutoTokenizer.from_pretrained("TristanBehrens/js-fakes-4bars")
|
5 |
model = AutoModelForCausalLM.from_pretrained("TristanBehrens/js-fakes-4bars")
|
6 |
|
|
|
|
|
7 |
NOTE_LENGTH_16TH_120BPM = 0.25 * 60 / 120
|
8 |
BAR_LENGTH_120BPM = 4.0 * 60 / 120
|
9 |
SAMPLE_RATE=44100
|