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:
@@ -32,11 +32,11 @@ log "====================x86===================="
|
||||
|
||||
mkdir -p apks
|
||||
|
||||
log "https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx"
|
||||
log "https://github.com/snakers4/silero-vad/raw/master/src/silero_vad/data/silero_vad.onnx"
|
||||
|
||||
# Download the model
|
||||
pushd ./android/SherpaOnnxVad/app/src/main/assets/
|
||||
wget -c https://github.com/snakers4/silero-vad/raw/master/files/silero_vad.onnx
|
||||
wget -c https://github.com/snakers4/silero-vad/raw/master/src/silero_vad/data/silero_vad.onnx
|
||||
popd
|
||||
|
||||
for arch in arm64-v8a armeabi-v7a x86_64 x86; do
|
||||
|
||||
Reference in New Issue
Block a user