GattoNero commited on
Commit
b647e14
·
verified ·
1 Parent(s): ba6e97c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ class BasicAgent:
129
  print("coso Audio file detected, processing with Whisper")
130
  audio_bytes = get_or_download_audio(file_info)
131
  if audio_bytes is not None:
132
- audio_file = BytesIO(audio_bytes)
133
  transcription = self._transcribe_audio(audio_file)
134
  prompt_con_audio = (
135
  f"The following is the transcription of an audio file related to the question.\n"
 
129
  print("coso Audio file detected, processing with Whisper")
130
  audio_bytes = get_or_download_audio(file_info)
131
  if audio_bytes is not None:
132
+ audio_file = BytesIO(audio_bytes) #togli questo
133
  transcription = self._transcribe_audio(audio_file)
134
  prompt_con_audio = (
135
  f"The following is the transcription of an audio file related to the question.\n"