GattoNero commited on
Commit
76deec5
·
verified ·
1 Parent(s): ea0fd7a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -130,8 +130,8 @@ class BasicAgent:
130
  audio_bytes = get_or_download_audio(file_info)
131
  if audio_bytes is not None:
132
  audio_file = BytesIO(audio_bytes)
133
- print_coso(f"in mp3 audio_file: {audio_file}")
134
- audio_file.name = file_info
135
  transcription = self._transcribe_audio(audio_file)
136
  prompt_con_audio = (
137
  f"The following is the transcription of an audio file related to the question.\n"
 
130
  audio_bytes = get_or_download_audio(file_info)
131
  if audio_bytes is not None:
132
  audio_file = BytesIO(audio_bytes)
133
+ print_coso(f"in mp3 audio_file: {audio_file.name}")
134
+ #audio_file.name = file_info
135
  transcription = self._transcribe_audio(audio_file)
136
  prompt_con_audio = (
137
  f"The following is the transcription of an audio file related to the question.\n"