csukuangfj commited on
Commit
e51e037
1 Parent(s): 47b9110

fix url for cn

Browse files
generate-asr-2pass.py CHANGED
@@ -192,6 +192,7 @@ def main():
192
  apk2 = []
193
  for a in apk:
194
  a = a.replace("huggingface.co", "hf-mirror.com")
 
195
  apk2.append(a)
196
 
197
  to_file("./apk-asr-2pass-cn.html", apk2)
 
192
  apk2 = []
193
  for a in apk:
194
  a = a.replace("huggingface.co", "hf-mirror.com")
195
+ a += "?download=true"
196
  apk2.append(a)
197
 
198
  to_file("./apk-asr-2pass-cn.html", apk2)
generate-asr.py CHANGED
@@ -166,6 +166,7 @@ def main():
166
  apk2 = []
167
  for a in apk:
168
  a = a.replace("huggingface.co", "hf-mirror.com")
 
169
  apk2.append(a)
170
 
171
  to_file("./apk-asr-cn.html", apk2)
 
166
  apk2 = []
167
  for a in apk:
168
  a = a.replace("huggingface.co", "hf-mirror.com")
169
+ a += "?download=true"
170
  apk2.append(a)
171
 
172
  to_file("./apk-asr-cn.html", apk2)
generate-audio-tagging-wearos.py CHANGED
@@ -120,6 +120,7 @@ def main():
120
  apk2 = []
121
  for a in apk:
122
  a = a.replace("huggingface.co", "hf-mirror.com")
 
123
  apk2.append(a)
124
 
125
  to_file("./apk-audio-tagging-wearos-cn.html", apk2)
 
120
  apk2 = []
121
  for a in apk:
122
  a = a.replace("huggingface.co", "hf-mirror.com")
123
+ a += "?download=true"
124
  apk2.append(a)
125
 
126
  to_file("./apk-audio-tagging-wearos-cn.html", apk2)
generate-audio-tagging.py CHANGED
@@ -121,6 +121,7 @@ def main():
121
  apk2 = []
122
  for a in apk:
123
  a = a.replace("huggingface.co", "hf-mirror.com")
 
124
  apk2.append(a)
125
 
126
  to_file("./apk-audio-tagging-cn.html", apk2)
 
121
  apk2 = []
122
  for a in apk:
123
  a = a.replace("huggingface.co", "hf-mirror.com")
124
+ a += "?download=true"
125
  apk2.append(a)
126
 
127
  to_file("./apk-audio-tagging-cn.html", apk2)
generate-kws.py CHANGED
@@ -149,6 +149,7 @@ def main():
149
  apk2 = []
150
  for a in apk:
151
  a = a.replace("huggingface.co", "hf-mirror.com")
 
152
  apk2.append(a)
153
 
154
  to_file("./apk-kws-cn.html", apk2)
 
149
  apk2 = []
150
  for a in apk:
151
  a = a.replace("huggingface.co", "hf-mirror.com")
152
+ a += "?download=true"
153
  apk2.append(a)
154
 
155
  to_file("./apk-kws-cn.html", apk2)
generate-slid.py CHANGED
@@ -115,6 +115,7 @@ def main():
115
  apk2 = []
116
  for a in apk:
117
  a = a.replace("huggingface.co", "hf-mirror.com")
 
118
  apk2.append(a)
119
 
120
  to_file("./apk-slid-cn.html", apk2)
 
115
  apk2 = []
116
  for a in apk:
117
  a = a.replace("huggingface.co", "hf-mirror.com")
118
+ a += "?download=true"
119
  apk2.append(a)
120
 
121
  to_file("./apk-slid-cn.html", apk2)
generate-speaker-identification.py CHANGED
@@ -125,6 +125,7 @@ def main():
125
  apk2 = []
126
  for a in apk:
127
  a = a.replace("huggingface.co", "hf-mirror.com")
 
128
  apk2.append(a)
129
 
130
  to_file("./apk-speaker-identification-cn.html", apk2)
 
125
  apk2 = []
126
  for a in apk:
127
  a = a.replace("huggingface.co", "hf-mirror.com")
128
+ a += "?download=true"
129
  apk2.append(a)
130
 
131
  to_file("./apk-speaker-identification-cn.html", apk2)
generate-tts-engine.py CHANGED
@@ -133,6 +133,7 @@ def main():
133
  apk2 = []
134
  for a in apk:
135
  a = a.replace("huggingface.co", "hf-mirror.com")
 
136
  apk2.append(a)
137
 
138
  to_file("./apk-engine-cn.html", apk2)
 
133
  apk2 = []
134
  for a in apk:
135
  a = a.replace("huggingface.co", "hf-mirror.com")
136
+ a += "?download=true"
137
  apk2.append(a)
138
 
139
  to_file("./apk-engine-cn.html", apk2)
generate-tts.py CHANGED
@@ -132,6 +132,7 @@ def main():
132
  apk2 = []
133
  for a in apk:
134
  a = a.replace("huggingface.co", "hf-mirror.com")
 
135
  apk2.append(a)
136
 
137
  to_file("./apk-cn.html", apk2)
 
132
  apk2 = []
133
  for a in apk:
134
  a = a.replace("huggingface.co", "hf-mirror.com")
135
+ a += "?download=true"
136
  apk2.append(a)
137
 
138
  to_file("./apk-cn.html", apk2)
generate-vad-asr.py CHANGED
@@ -160,6 +160,7 @@ def main():
160
  apk2 = []
161
  for a in apk:
162
  a = a.replace("huggingface.co", "hf-mirror.com")
 
163
  apk2.append(a)
164
 
165
  to_file("./apk-vad-asr-cn.html", apk2)
 
160
  apk2 = []
161
  for a in apk:
162
  a = a.replace("huggingface.co", "hf-mirror.com")
163
+ a += "?download=true"
164
  apk2.append(a)
165
 
166
  to_file("./apk-vad-asr-cn.html", apk2)
generate-vad.py CHANGED
@@ -140,6 +140,7 @@ def main():
140
  apk2 = []
141
  for a in apk:
142
  a = a.replace("huggingface.co", "hf-mirror.com")
 
143
  apk2.append(a)
144
 
145
  to_file("./apk-vad-cn.html", apk2)
 
140
  apk2 = []
141
  for a in apk:
142
  a = a.replace("huggingface.co", "hf-mirror.com")
143
+ a += "?download=true"
144
  apk2.append(a)
145
 
146
  to_file("./apk-vad-cn.html", apk2)