seandokko commited on
Commit
58eab0d
·
1 Parent(s): 72684cd

update model

Browse files
Files changed (3) hide show
  1. content/model.h5 +3 -0
  2. content/tokenizer.pkl +2 -2
  3. lib/Generator.py +1 -1
content/model.h5 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:fa98b47ee66f36ccb0e31c12750ce20901d331ae8ac77904f8950da44ac08336
3
+ size 46558936
content/tokenizer.pkl CHANGED
@@ -1,3 +1,3 @@
1
  version https://git-lfs.github.com/spec/v1
2
- oid sha256:e8dc5e7a84198dc86d54928ecc560dc4b0207f17f89b127f52a1747c48fba959
3
- size 1306
 
1
  version https://git-lfs.github.com/spec/v1
2
+ oid sha256:24d5cf7a37ed538be65feb37823498c3bafb68913287af9e811240ea5511aa92
3
+ size 1303
lib/Generator.py CHANGED
@@ -11,7 +11,7 @@ if module_path not in sys.path:
11
 
12
  from MusicXMLParser import MusicXMLDocument as Parser
13
 
14
- model = joblib.load("./content/model.pkl")
15
  tokenizer = joblib.load("./content/tokenizer.pkl")
16
 
17
  class Generator:
 
11
 
12
  from MusicXMLParser import MusicXMLDocument as Parser
13
 
14
+ model = tf.keras.models.load_model('./content/model.h5')
15
  tokenizer = joblib.load("./content/tokenizer.pkl")
16
 
17
  class Generator: