Spaces:
Running
Running
Update app.py
Browse files
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 |
-
|
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"
|