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