Jazz Improvisation music_inference

Dear all I am having this error when running the inference_model

ValueError: Graph disconnected: cannot obtain value for tensor Tensor(“input_2:0”, shape=(None, 1, 90), dtype=float32) at layer “lstm”. The following previous layers were accessed without issue:

Looks like the error comes when calling the Model inside the function

There may be an error in your code for Step 2A, when you create the LSTM layer.

at this step

Step 3: Create model instance with the correct “inputs” and “outputs” (≈1 line)

pass x as x0 not x