Riya Mandal

Results 3 issues of Riya Mandal

I can choose the audio and predict but i want to play the audio in same page. Please reply asap. code below: @app.route("/", methods=["GET", "POST"]) def index(): prediction="" if request.method...

file = 'chunk4.wav' ans =[] new_feature = extract_feature(file, mfcc=True, chroma=True, mel=True) ans.append(new_feature) ans = np.array(ans).T print(np.shape(ans)) Emotion_Voice_Detection_Model.predict([ans]) it gives error as: Invalid shape for monophonic audio: ndim=2, shape=(2520138, 2)

file = 'chunkchannel_1.wav' ans =[] new_feature= extract_feature(file, mfcc=True, chroma=True, mel=True) ans.append(new_feature) ans = np.array(ans) print(np.shape(ans)) Emotion_Voice_Detection_Model.predict([ans]) I have trained my model using the RAVDESS dataset for emotion recognition. I want...