Generating transcriptions in the side pane! Please wait...
", unsafe_allow_html=True)): with st.spinner("Generating transcriptions in the side pane.Please wait..."): transcription = speechtoText(temp_filename) emo = predict(audio_array,ser_model,2,tokenizer,transcription) # Display the transcription in a textbox st.sidebar.text_area("Transcription", transcription, height=25) except: st.write("Inference impossible, a problem occurred with your audio or your parameters, we apologize :(") txt = f"You seem to be {(emo2promptMapping[emo]).capitalize()}!\n Click on 'Show Helpful Tips' button to proceed further." st.markdown(f"