GattoNero commited on
Commit
f4e1e2d
·
verified ·
1 Parent(s): 4f840a6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -131,7 +131,7 @@ class BasicAgent:
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"
 
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"