Spaces:
Sleeping
Sleeping
update model
Browse files- content/model.h5 +3 -0
- content/tokenizer.pkl +2 -2
- 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:
|
| 3 |
-
size
|
|
|
|
| 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 =
|
| 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:
|