Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -373,7 +373,7 @@ def main():
|
|
373 |
# Audio, transcribe, GPT:
|
374 |
filename = save_and_play_audio(audio_recorder)
|
375 |
if filename is not None:
|
376 |
-
transcription = transcribe_audio(
|
377 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
378 |
filename = None
|
379 |
|
|
|
373 |
# Audio, transcribe, GPT:
|
374 |
filename = save_and_play_audio(audio_recorder)
|
375 |
if filename is not None:
|
376 |
+
transcription = transcribe_audio(filename, "whisper-1")
|
377 |
st.sidebar.markdown(get_table_download_link(filename), unsafe_allow_html=True)
|
378 |
filename = None
|
379 |
|