Update app.py
Browse files
app.py
CHANGED
@@ -217,7 +217,7 @@ def transcribe_audio(audio_files: list, model_name="whisper-1"):
|
|
217 |
audio = open(audio_file, "rb")
|
218 |
try:
|
219 |
response = completions_with_backoff(
|
220 |
-
model=model_name, file=audio
|
221 |
)
|
222 |
transcripts += response.text + " "
|
223 |
except openai.OpenAIError as e:
|
|
|
217 |
audio = open(audio_file, "rb")
|
218 |
try:
|
219 |
response = completions_with_backoff(
|
220 |
+
model=model_name, file=audio
|
221 |
)
|
222 |
transcripts += response.text + " "
|
223 |
except openai.OpenAIError as e:
|