Update processing_aero.py
Browse files- processing_aero.py +1 -1
processing_aero.py
CHANGED
@@ -222,7 +222,7 @@ class AeroProcessor(ProcessorMixin):
|
|
222 |
"{{ message['content'] }}<|im_end|>\n"
|
223 |
"{% else %}"
|
224 |
"{% for content in message['content'] %}"
|
225 |
-
"{% if 'audio' in content or 'audio_url' in content %}"
|
226 |
"{% set audio_count.value = audio_count.value + 1 %}"
|
227 |
"<|AUDIO|>\n"
|
228 |
"{% elif 'text' in content %}"
|
|
|
222 |
"{{ message['content'] }}<|im_end|>\n"
|
223 |
"{% else %}"
|
224 |
"{% for content in message['content'] %}"
|
225 |
+
"{% if 'audio' in content or 'audio_url' in content or content['type'] == 'audio'%}"
|
226 |
"{% set audio_count.value = audio_count.value + 1 %}"
|
227 |
"<|AUDIO|>\n"
|
228 |
"{% elif 'text' in content %}"
|