Last active
July 10, 2019 07:36
-
-
Save aravindpai/4f62ba1e8e150ab54d9fa43596c1ae99 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import random | |
index=random.randint(0,len(x_val)-1) | |
samples=x_val[index].ravel() | |
print("Audio:",classes[np.argmax(y_val[index])]) | |
ipd.Audio(samples, rate=8000) | |
print("Text:",predict(samples)) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment