src/services/deepLearning/faceApi/FaceApiModelService.js
Function download
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
async download(name: FaceApiModelName) {
const urls = this.getModelUrlsByName(name);
if (DeepLearningHelper.isFaceApiModelDownloaded(name)) {
return;
}