Neal Caren commited on
Commit
72a5c50
1 Parent(s): 19ccd4b

Turned off logging and file now stored in temp dir.

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -52,7 +52,7 @@ def transcribe(uploaded, nu_speakers):
52
 
53
  audio_file = open(temp_file, 'rb')
54
  audio_bytes = audio_file.read()
55
- st.audio('mono.wav', format='audio/wav')
56
 
57
  with st.spinner(text=f"Transcribing using {model_size} model..."):
58
  tdf = audio_to_df(uploaded)
 
52
 
53
  audio_file = open(temp_file, 'rb')
54
  audio_bytes = audio_file.read()
55
+ st.audio(temp_file, format='audio/wav')
56
 
57
  with st.spinner(text=f"Transcribing using {model_size} model..."):
58
  tdf = audio_to_df(uploaded)