From 97cf8c0d8e93220b0eb2cb2fdbce899719107ad4 Mon Sep 17 00:00:00 2001 From: Patchy Chan Date: Wed, 13 Sep 2023 23:25:43 +0800 Subject: [PATCH] fix: ml-bar and 0% execption CSS bug --- src/views/comp/ClassificationResults.vue | 79 ++++++++++++------------ 1 file changed, 40 insertions(+), 39 deletions(-) diff --git a/src/views/comp/ClassificationResults.vue b/src/views/comp/ClassificationResults.vue index 8e90ab7..329e9cb 100644 --- a/src/views/comp/ClassificationResults.vue +++ b/src/views/comp/ClassificationResults.vue @@ -7,7 +7,7 @@
Please record at least 10 seconds for more accuracy.
-
(You're audio was {{audioDuration.toFixed(1)}} seconds long)
+
(You're audio was {{ audioDuration.toFixed(1) }} seconds long)
Full Audio Statistics
@@ -15,18 +15,19 @@
- {{featureDescriptions[f].split(' - ')[0]}} - {{featureDescriptions[f].split(' - ')[1]}} + {{ featureDescriptions[f].split(' - ')[0] }} + {{ featureDescriptions[f].split(' - ')[1] }}
- - + + {{ (stats.fem_prob[f] * 100).toFixed(0) }}%
- +
@@ -41,8 +42,16 @@ Machine Learning How your voice might sound like to a robot. -
-
+
+
Sorry, our model failed to detect voice on this audio.
@@ -50,11 +59,11 @@