mirror of
https://github.com/coqui-ai/TTS.git
synced 2025-12-24 04:09:32 +01:00
Add stop token visualizaiotn for the notebook
This commit is contained in:
@@ -32,4 +32,4 @@ def plot_spectrogram(linear_output, audio):
|
||||
data = np.fromstring(fig.canvas.tostring_rgb(), dtype=np.uint8, sep='')
|
||||
data = data.reshape(fig.canvas.get_width_height()[::-1] + (3,))
|
||||
plt.close()
|
||||
return data
|
||||
return data
|
||||
Reference in New Issue
Block a user