got cpu based backend working; trying python/gpu solution bc faster probs

This commit is contained in:
2026-03-26 00:58:57 -06:00
parent 00ee076baa
commit 164b2f87d4
11 changed files with 688 additions and 23 deletions

View File

@ -59,6 +59,14 @@ window.electronAPI = {
return invoke<string>('decrypt_string', { encrypted });
},
ensureModel: (modelName: string): Promise<string> => {
return invoke<string>('ensure_model', { modelName });
},
transcribe: (filePath: string, modelName: string, language?: string): Promise<any> => {
return invoke('transcribe_audio', { filePath, modelName, language });
},
readFile: (path: string): Promise<string> => {
return readTextFile(path);
},