Fix android tts audio buffer size and fix CI. (#478)

This commit is contained in:
Fangjun Kuang
2023-12-10 18:25:50 +08:00
committed by GitHub
parent 0f053d8040
commit 80d0192325
11 changed files with 21 additions and 12 deletions

View File

@@ -250,11 +250,16 @@ def main():
start = index * num_per_runner
end = start + num_per_runner
if index == args.total - 1:
end = num_models
remaining = num_models - args.total * num_per_runner
print(f"{index}/{total}: {start}-{end}/{num_models}")
d["tts_model_list"] = all_model_list[start:end]
if index < remaining:
s = args.total * num_per_runner + index
d["tts_model_list"].append(all_model_list[s])
print(f"{s}/{num_models}")
s = template.render(**d)
with open("./build-apk-tts.sh", "w") as f:
print(s, file=f)