2014104094

Update Demo.py

......@@ -57,6 +57,7 @@ while True:
stack = np.hstack(frames)
librosa.display.specshow(stack, fmax=4000)
# LOADED AT 'DB FOLDER' WHERE SPECTROGRAM IMAGE IS
plt.savefig('your save path' + '.jpg', dpi=300)
prediction = model.predict([prepare('path where your image is')])
print(CATEGORES[int(prediction[0][0])])
......