nodejs-whisper icon indicating copy to clipboard operation
nodejs-whisper copied to clipboard

[Suggestion] Support for multiple models to exist

Open SimonRosengren opened this issue 7 months ago • 2 comments

I've noticed that there is a check for any model existing as part of the autoDownload. However, it only checks if there are > 0 models rather than checking if the autoDownloadModelName already exists.

if (existingModels.length > 0) {
	if (verbose) {
		console.log('[Nodejs-whisper] Models already exist. Skipping download.')
	}
	return 'Models already exist. Skipping download.'
}

It this by design or is it a bug? My suggestion would be to allow more than one model existing.

SimonRosengren avatar Jul 24 '24 13:07 SimonRosengren