Update app.py
Browse files
app.py
CHANGED
@@ -1894,7 +1894,7 @@ def transcribe_whisperLTurbo(filename):
|
|
1894 |
return result
|
1895 |
|
1896 |
# Transcript to arxiv and client chat completion ------------------------- !!
|
1897 |
-
filename = save_and_play_audio(audio_recorder
|
1898 |
if filename is not None: # whisper1
|
1899 |
try:
|
1900 |
transcript = transcribe_audio(filename, "whisper-1")
|
|
|
1894 |
return result
|
1895 |
|
1896 |
# Transcript to arxiv and client chat completion ------------------------- !!
|
1897 |
+
filename = save_and_play_audio(audio_recorder)
|
1898 |
if filename is not None: # whisper1
|
1899 |
try:
|
1900 |
transcript = transcribe_audio(filename, "whisper-1")
|