csukuangfj
commited on
Commit
•
0b003dd
1
Parent(s):
e51e037
small fixes
Browse files- generate-asr-2pass.py +2 -0
- generate-asr.py +2 -0
- generate-audio-tagging-wearos.py +2 -0
- generate-audio-tagging.py +2 -0
- generate-kws.py +2 -0
- generate-slid.py +2 -0
- generate-speaker-identification.py +2 -0
- generate-tts-engine.py +7 -1
- generate-tts.py +6 -0
- generate-vad-asr.py +2 -0
- generate-vad.py +2 -0
generate-asr-2pass.py
CHANGED
@@ -181,6 +181,8 @@ see https://www.tablesgenerator.com/html_tables#
|
|
181 |
print(content, file=f)
|
182 |
for x in files:
|
183 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
184 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
185 |
|
186 |
|
|
|
181 |
print(content, file=f)
|
182 |
for x in files:
|
183 |
name = x.rsplit("/", maxsplit=1)[-1]
|
184 |
+
if "?download" in name:
|
185 |
+
name = name.split("?download")[0]
|
186 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
187 |
|
188 |
|
generate-asr.py
CHANGED
@@ -155,6 +155,8 @@ see https://www.tablesgenerator.com/html_tables#
|
|
155 |
print(content, file=f)
|
156 |
for x in files:
|
157 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
158 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
159 |
|
160 |
|
|
|
155 |
print(content, file=f)
|
156 |
for x in files:
|
157 |
name = x.rsplit("/", maxsplit=1)[-1]
|
158 |
+
if "?download" in name:
|
159 |
+
name = name.split("?download")[0]
|
160 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
161 |
|
162 |
|
generate-audio-tagging-wearos.py
CHANGED
@@ -109,6 +109,8 @@ For APKs running on Android phones, please see
|
|
109 |
print(content, file=f)
|
110 |
for x in files:
|
111 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
112 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
113 |
|
114 |
|
|
|
109 |
print(content, file=f)
|
110 |
for x in files:
|
111 |
name = x.rsplit("/", maxsplit=1)[-1]
|
112 |
+
if "?download" in name:
|
113 |
+
name = name.split("?download")[0]
|
114 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
115 |
|
116 |
|
generate-audio-tagging.py
CHANGED
@@ -110,6 +110,8 @@ For APKs running on Android wathces with WearOS, please see
|
|
110 |
print(content, file=f)
|
111 |
for x in files:
|
112 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
113 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
114 |
|
115 |
|
|
|
110 |
print(content, file=f)
|
111 |
for x in files:
|
112 |
name = x.rsplit("/", maxsplit=1)[-1]
|
113 |
+
if "?download" in name:
|
114 |
+
name = name.split("?download")[0]
|
115 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
116 |
|
117 |
|
generate-kws.py
CHANGED
@@ -138,6 +138,8 @@ see https://www.tablesgenerator.com/html_tables#
|
|
138 |
print(content, file=f)
|
139 |
for x in files:
|
140 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
141 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
142 |
|
143 |
|
|
|
138 |
print(content, file=f)
|
139 |
for x in files:
|
140 |
name = x.rsplit("/", maxsplit=1)[-1]
|
141 |
+
if "?download" in name:
|
142 |
+
name = name.split("?download")[0]
|
143 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
144 |
|
145 |
|
generate-slid.py
CHANGED
@@ -104,6 +104,8 @@ for more information.
|
|
104 |
print(content, file=f)
|
105 |
for x in files:
|
106 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
107 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
108 |
|
109 |
|
|
|
104 |
print(content, file=f)
|
105 |
for x in files:
|
106 |
name = x.rsplit("/", maxsplit=1)[-1]
|
107 |
+
if "?download" in name:
|
108 |
+
name = name.split("?download")[0]
|
109 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
110 |
|
111 |
|
generate-speaker-identification.py
CHANGED
@@ -114,6 +114,8 @@ You can download all supported models from
|
|
114 |
print(content, file=f)
|
115 |
for x in files:
|
116 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
117 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
118 |
|
119 |
|
|
|
114 |
print(content, file=f)
|
115 |
for x in files:
|
116 |
name = x.rsplit("/", maxsplit=1)[-1]
|
117 |
+
if "?download" in name:
|
118 |
+
name = name.split("?download")[0]
|
119 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
120 |
|
121 |
|
generate-tts-engine.py
CHANGED
@@ -20,7 +20,11 @@ class APK:
|
|
20 |
|
21 |
def __init__(self, s):
|
22 |
s = str(s)
|
23 |
-
|
|
|
|
|
|
|
|
|
24 |
self.major, self.minor, self.patch = list(map(int, split[2].split(".")))
|
25 |
self.arch = split[3]
|
26 |
self.lang = split[4]
|
@@ -121,6 +125,8 @@ at
|
|
121 |
print(content, file=f)
|
122 |
for x in files:
|
123 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
124 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
125 |
|
126 |
|
|
|
20 |
|
21 |
def __init__(self, s):
|
22 |
s = str(s)
|
23 |
+
if "tts-engine-" in s:
|
24 |
+
s = s[len("tts-engine-") + 1 :]
|
25 |
+
else:
|
26 |
+
s = s[len("tts-engine") :]
|
27 |
+
split = s.split("-")
|
28 |
self.major, self.minor, self.patch = list(map(int, split[2].split(".")))
|
29 |
self.arch = split[3]
|
30 |
self.lang = split[4]
|
|
|
125 |
print(content, file=f)
|
126 |
for x in files:
|
127 |
name = x.rsplit("/", maxsplit=1)[-1]
|
128 |
+
if "?download" in name:
|
129 |
+
name = name.split("?download")[0]
|
130 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
131 |
|
132 |
|
generate-tts.py
CHANGED
@@ -20,6 +20,10 @@ class APK:
|
|
20 |
|
21 |
def __init__(self, s):
|
22 |
s = str(s)
|
|
|
|
|
|
|
|
|
23 |
split = s.split("-")
|
24 |
self.major, self.minor, self.patch = list(map(int, split[2].split(".")))
|
25 |
self.arch = split[3]
|
@@ -120,6 +124,8 @@ at
|
|
120 |
print(content, file=f)
|
121 |
for x in files:
|
122 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
123 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
124 |
|
125 |
|
|
|
20 |
|
21 |
def __init__(self, s):
|
22 |
s = str(s)
|
23 |
+
if "tts-" in s:
|
24 |
+
s = s[len("tts-") + 1 :]
|
25 |
+
else:
|
26 |
+
s = s[len("tts") :]
|
27 |
split = s.split("-")
|
28 |
self.major, self.minor, self.patch = list(map(int, split[2].split(".")))
|
29 |
self.arch = split[3]
|
|
|
124 |
print(content, file=f)
|
125 |
for x in files:
|
126 |
name = x.rsplit("/", maxsplit=1)[-1]
|
127 |
+
if "?download" in name:
|
128 |
+
name = name.split("?download")[0]
|
129 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
130 |
|
131 |
|
generate-vad-asr.py
CHANGED
@@ -149,6 +149,8 @@ see https://www.tablesgenerator.com/html_tables#
|
|
149 |
print(content, file=f)
|
150 |
for x in files:
|
151 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
152 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
153 |
|
154 |
|
|
|
149 |
print(content, file=f)
|
150 |
for x in files:
|
151 |
name = x.rsplit("/", maxsplit=1)[-1]
|
152 |
+
if "?download" in name:
|
153 |
+
name = name.split("?download")[0]
|
154 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
155 |
|
156 |
|
generate-vad.py
CHANGED
@@ -129,6 +129,8 @@ see https://www.tablesgenerator.com/html_tables#
|
|
129 |
print(content, file=f)
|
130 |
for x in files:
|
131 |
name = x.rsplit("/", maxsplit=1)[-1]
|
|
|
|
|
132 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
133 |
|
134 |
|
|
|
129 |
print(content, file=f)
|
130 |
for x in files:
|
131 |
name = x.rsplit("/", maxsplit=1)[-1]
|
132 |
+
if "?download" in name:
|
133 |
+
name = name.split("?download")[0]
|
134 |
print(f'<a href="{x}" />{name}<br/>', file=f)
|
135 |
|
136 |
|