Skip to content

Commit ec2d118

Browse files
Changed to built-in tuple and added content types
Co-authored-by: Mark McDonald <[email protected]>
1 parent 01fb931 commit ec2d118

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/en/tutorials/audio/music_generation.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@
10731073
"def predict_next_note(\n",
10741074
" notes: np.ndarray, \n",
10751075
" keras_model: tf.keras.Model, \n",
1076-
" temperature: float = 1.0) -> Tuple:\n",
1076+
" temperature: float = 1.0) -> tuple[int, float, float]:\n",
10771077
" \"\"\"Generates a note as a tuple of (pitch, step, duration), using a trained sequence model.\"\"\"\n",
10781078
"\n",
10791079
" assert temperature > 0\n",

0 commit comments

Comments
 (0)