RSPRIMES1234's picture
Upload 4 files
bf6ff20 verified
raw
history blame contribute delete
215 Bytes
from model import load_model
melody_generator = load_model("path/to/model.h5", "path/to/mapping.json")
seed = "60 _ 60 _ 67 _ 67 _ 69 _ 69 _ 67 _ _"
melody = melody_generator.generate_melody(seed, 500, 64, 0.3)