mirror of
https://github.com/wassname/TTS.git
synced 2026-09-10 11:50:20 +08:00
Add stop token visualizaiotn for the notebook
This commit is contained in:
+1
-1
@@ -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