nsdou
2024-05-15 d50edc297a7e6d944a244a84adf68b8bcce5a057
runtime/python/http/server.py
@@ -117,7 +117,7 @@
        for sentence in rec_result["sentence_info"]:
            # 每句话的时间戳
            sentences.append(
                {"text": sentence["text"], "start": sentence["start"], "end": sentence["start"]}
                {"text": sentence["text"], "start": sentence["start"], "end": sentence["end"]}
            )
        ret = {"text": text, "sentences": sentences, "code": 0}
        logger.info(f"识别结果:{ret}")