Skip to content

Commit b0faf8a

Browse files
committed
add numbers into labels
add
1 parent 1bc3e99 commit b0faf8a

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

speech2text/accuracy_eval.py

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828

2929

3030
max_duration = float(os.environ.get("MAX_DURATION", "30.0"))
31+
3132
labels = [
3233
" ",
3334
"a",
@@ -56,7 +57,25 @@
5657
"x",
5758
"y",
5859
"z",
59-
"'"]
60+
"'",
61+
"0",
62+
"1",
63+
"2",
64+
"3",
65+
"4",
66+
"5",
67+
"6",
68+
"7",
69+
"8",
70+
"9",
71+
"$",
72+
"¢",
73+
"£",
74+
"€",
75+
"%",
76+
"+",
77+
"-"]
78+
6079
dtype_map = {
6180
"int8": 'b',
6281
"int16": 'h',

0 commit comments

Comments
 (0)