cdleong commited on
Commit
4b18b93
·
1 Parent(s): e4d471e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -44,7 +44,7 @@ if __name__ == "__main__":
44
 
45
 
46
  # audio_bytes = audio_file.read()
47
- st.audio(audio_bytes, format='audio/wav')
48
 
49
  result = model.recognize(audio_bytes, langcode)
50
  st.write(result)
 
44
 
45
 
46
  # audio_bytes = audio_file.read()
47
+ st.audio(uploaded_file, format='audio/wav')
48
 
49
  result = model.recognize(audio_bytes, langcode)
50
  st.write(result)