Leo Liu commited on
Commit
6cc43c1
·
verified ·
1 Parent(s): f24a63b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -0
app.py CHANGED
@@ -116,6 +116,8 @@ def main():
116
  with open(temp_audio_path, "wb") as f:
117
  f.write(uploaded_file.getbuffer())
118
 
 
 
119
  with st.spinner('🔄 Processing your audio, please wait...'):
120
  transcript = transcribe_audio(temp_audio_path)
121
  quality_rating = rate_quality(transcript)
 
116
  with open(temp_audio_path, "wb") as f:
117
  f.write(uploaded_file.getbuffer())
118
 
119
+ st.audio(uploaded_file, format="audio/wav")
120
+
121
  with st.spinner('🔄 Processing your audio, please wait...'):
122
  transcript = transcribe_audio(temp_audio_path)
123
  quality_rating = rate_quality(transcript)