diff --git a/app/asr_engine.py b/app/asr_engine.py index 3cc34cf..22fe1c1 100644 --- a/app/asr_engine.py +++ b/app/asr_engine.py @@ -10,7 +10,7 @@ from io import BytesIO import struct def audio_dic2list(audio): - ks = audio.keys() + ks = [k for i in audio.keys()] ks.sort() return [audio[k] for k in ks]