Fix publishing apks to huggingface (#1121)
Save APKs for each release in a separate directory. Huggingface requires that each directory cannot contain more than 1000 files. Since we have so many tts models and for each model we need to build APKs of 4 different ABIs, it is a workaround for the huggingface's constraint by placing them into separate directories for different releases.
This commit is contained in:
@@ -55,7 +55,7 @@ def main():
|
||||
if not Path(args.silero_vad_model).is_file():
|
||||
raise RuntimeError(
|
||||
f"{args.silero_vad_model} does not exist. Please download it from "
|
||||
"https://github.com/snakers4/silero-vad/blob/master/files/silero_vad.onnx"
|
||||
"https://github.com/snakers4/silero-vad/raw/master/src/silero_vad/data/silero_vad.onnx"
|
||||
)
|
||||
|
||||
device_name = args.device_name
|
||||
|
||||
Reference in New Issue
Block a user