Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def predict(audio):
- prob=model.predict(audio.reshape(1,8000,1))
- index=np.argmax(prob[0])
- return classes[index]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement