Created
July 10, 2019 07:33
-
-
Save aravindpai/7a20b87cba8cc5ec1f650706a96f674f 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
def predict(audio): | |
prob=model.predict(audio.reshape(1,8000,1)) | |
index=np.argmax(prob[0]) | |
return classes[index] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment