csukuangfj
commited on
Commit
·
45ff740
1
Parent(s):
91a6485
fix name
Browse files- generate-vad-asr.py +4 -4
generate-vad-asr.py
CHANGED
@@ -223,11 +223,11 @@ see https://www.tablesgenerator.com/html_tables#
|
|
223 |
"""
|
224 |
if "-cn" not in filename:
|
225 |
content += """
|
226 |
-
For Chinese users, please <a href="./
|
227 |
which replaces <a href="huggingface.co">huggingface.co</a> with <a href="hf-mirror.com">hf-mirror.com</a>
|
228 |
<br/>
|
229 |
<br/>
|
230 |
-
中国用户, 请访问<a href="./
|
231 |
<br/>
|
232 |
<br/>
|
233 |
"""
|
@@ -241,7 +241,7 @@ see https://www.tablesgenerator.com/html_tables#
|
|
241 |
|
242 |
def main():
|
243 |
hap = get_all_files("hap", suffix=".hap")
|
244 |
-
to_file("./
|
245 |
|
246 |
# for Chinese users
|
247 |
hap2 = []
|
@@ -250,7 +250,7 @@ def main():
|
|
250 |
a = a.replace("resolve", "blob")
|
251 |
hap2.append(a)
|
252 |
|
253 |
-
to_file("./
|
254 |
|
255 |
|
256 |
if __name__ == "__main__":
|
|
|
223 |
"""
|
224 |
if "-cn" not in filename:
|
225 |
content += """
|
226 |
+
For Chinese users, please <a href="./vad-asr-cn.html">visit this address</a>,
|
227 |
which replaces <a href="huggingface.co">huggingface.co</a> with <a href="hf-mirror.com">hf-mirror.com</a>
|
228 |
<br/>
|
229 |
<br/>
|
230 |
+
中国用户, 请访问<a href="./vad-asr-cn.html">这个地址</a>
|
231 |
<br/>
|
232 |
<br/>
|
233 |
"""
|
|
|
241 |
|
242 |
def main():
|
243 |
hap = get_all_files("hap", suffix=".hap")
|
244 |
+
to_file("./vad-asr.html", hap)
|
245 |
|
246 |
# for Chinese users
|
247 |
hap2 = []
|
|
|
250 |
a = a.replace("resolve", "blob")
|
251 |
hap2.append(a)
|
252 |
|
253 |
+
to_file("./vad-asr-cn.html", hap2)
|
254 |
|
255 |
|
256 |
if __name__ == "__main__":
|