zhifu gao
2024-04-16 a65016e23e6c829d61c63a68e27b24abf86e926a
funasr/models/sense_voice/model.py
@@ -96,9 +96,9 @@
        options = whisper.DecodingOptions(**DecodingOptions)
        
        result = whisper.decode(self.model, speech, options)
        text = f"{result.text}"
        results = []
        result_i = {"key": key[0], "text": result.text}
        result_i = {"key": key[0], "text": text}
        results.append(result_i)