mirror of
https://github.com/wassname/TTS.git
synced 2026-10-30 13:00:27 +08:00
Add stop token visualizaiotn for the notebook
This commit is contained in:
1 parent
f8d5bbd5d2
commit
d02dd47958
2 files changed
+10
-5
No files matched your search
+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