Skip to content

Instantly share code, notes, and snippets.

@aravindpai
Last active July 10, 2019 07:36
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