Daniel Amendoeira commited on
Commit
0c0a3c5
·
verified ·
1 Parent(s): 16fdaf8

Update tools.py

Browse files
Files changed (1) hide show
  1. tools.py +1 -1
tools.py CHANGED
@@ -61,7 +61,7 @@ def transcribe_audio(audio_file: str, file_extension: str) -> str:
61
  transcription = client.audio.transcriptions.create(
62
  model="whisper-1",
63
  file=audio_content
64
- )
65
  return transcription.text
66
 
67
  except Exception as e:
 
61
  transcription = client.audio.transcriptions.create(
62
  model="whisper-1",
63
  file=audio_content
64
+ )
65
  return transcription.text
66
 
67
  except Exception as e: