From ca0ada5915b4c71fc4a30db689e0e3646181aebf Mon Sep 17 00:00:00 2001
From: zhaomingwork <61895407+zhaomingwork@users.noreply.github.com>
Date: 星期一, 21 八月 2023 15:04:06 +0800
Subject: [PATCH] fix h5 for timestamp change (#880)

---
 funasr/runtime/html5/static/main.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/funasr/runtime/html5/static/main.js b/funasr/runtime/html5/static/main.js
index 7e5a49a..5cfb899 100644
--- a/funasr/runtime/html5/static/main.js
+++ b/funasr/runtime/html5/static/main.js
@@ -214,7 +214,7 @@
 	}
 	tmptext=tmptext.replace(/銆�/g, ","); // in case there are a lot of "銆�"
 	var words=tmptext.split(",");
-	var jsontime=JSON.parse(tmptime.replace(/\]\]\[\[/g, "],[")); // in case there are a lot segments by VAD
+	var jsontime=JSON.parse(tmptime); //JSON.parse(tmptime.replace(/\]\]\[\[/g, "],[")); // in case there are a lot segments by VAD
 	var char_index=0;
 	var text_withtime="";
 	for(var i=0;i<words.length;i++)

--
Gitblit v1.9.1