VoiceStudio is the open-source, fully-local ElevenLabs alternative — voice cloning, voice design, video dubbing, dictation, transcription & audiobook creation in 646 languages.
Python aiaudiobookcudadubbingelevenlabs-alternativehuggingfacelocal-firstmlxomnivoice-studiospeech-to-texttext-to-speechtranscriptiontranslatettsvoice-aivoice-cloningvoice-generationvoicestudioworkflow
import { describe, expect, it } from 'vitest';
import { modelNotDownloadedPayload } from '../utils/modelNotDownloaded';
describe('modelNotDownloadedPayload', () => {
it('owns only the typed self-service 409', () => {
const payload = { error: 'model_not_downloaded', target_label: 'this device' };
expect(modelNotDownloadedPayload({ status: 409, detail: payload })).toBe(payload);
expect(modelNotDownloadedPayload({ status: 500, detail: 'boom' })).toBeNull();
});
});