Spaces:
Build error
Build error
Commit
·
f0d974c
1
Parent(s):
0010fba
Update app.py
Browse files
app.py
CHANGED
|
@@ -115,7 +115,7 @@ def get_table_download_link(file_path):
|
|
| 115 |
# Audio, transcribe, GPT:
|
| 116 |
filename = save_and_play_audio(audio_recorder)
|
| 117 |
if filename is not None:
|
| 118 |
-
transcription = transcribe_audio(
|
| 119 |
st.write(transcription)
|
| 120 |
gptOutput = chat_with_model(transcription, '') # push transcript through as prompt
|
| 121 |
filename = generate_filename(transcription, choice)
|
|
|
|
| 115 |
# Audio, transcribe, GPT:
|
| 116 |
filename = save_and_play_audio(audio_recorder)
|
| 117 |
if filename is not None:
|
| 118 |
+
transcription = transcribe_audio(filename, "whisper-1")
|
| 119 |
st.write(transcription)
|
| 120 |
gptOutput = chat_with_model(transcription, '') # push transcript through as prompt
|
| 121 |
filename = generate_filename(transcription, choice)
|