Set seconds parameter of generate_and_display to -1
Browse files
audio.py
CHANGED
@@ -138,7 +138,7 @@ def generate_and_display(model: VAE,
|
|
138 |
out_file: str=None,
|
139 |
z_sample: tf.Tensor=None,
|
140 |
velocity: int=50,
|
141 |
-
seconds: int
|
142 |
"""
|
143 |
Generate a song, (optionally) save it and display it.
|
144 |
|
|
|
138 |
out_file: str=None,
|
139 |
z_sample: tf.Tensor=None,
|
140 |
velocity: int=50,
|
141 |
+
seconds: int=-1) -> display.Audio:
|
142 |
"""
|
143 |
Generate a song, (optionally) save it and display it.
|
144 |
|