Spaces:
Runtime error
Runtime error
Neal Caren
commited on
Commit
•
72a5c50
1
Parent(s):
19ccd4b
Turned off logging and file now stored in temp dir.
Browse files
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(
|
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)
|