Add stop token visualizaiotn for the notebook

This commit is contained in:
Eren Golge committed 2018-05-03 05:56:33 -07:00
1 parent f8d5bbd5d2
commit d02dd47958
2 files changed
+10 -5

No files matched your search

+1 -1
View File
@@ -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