Katpeeler commited on
Commit
39bb818
·
1 Parent(s): 672fe50

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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/midi_model_2")
8
- model = AutoModelForCausalLM.from_pretrained("Katpeeler/midi_model_2")
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