2026-03-02T07-44-11_auto_memory/memories.db-wal

This commit is contained in:
Nicholai Vogel 2026-03-02 00:44:12 -07:00
parent 9ddc0edcf9
commit 7bb1a27a3e
2 changed files with 2 additions and 4 deletions

Binary file not shown.

View File

@ -34,14 +34,12 @@ async function transcribeWithWhisper(wavPath) {
const python = spawn(PYWHISPER_PYTHON, [
'-c',
`
import os
os.environ['GGML_CUDA'] = '0'
from pywhispercpp.model import Model
model = Model('${PYWHISPER_MODEL}', no_gpu=True)
model = Model('${PYWHISPER_MODEL}', redirect_whispercpp_logs_to=None)
segments = model.transcribe('${wavPath}')
print(' '.join(seg.text for seg in segments))
`.trim(),
]);
], { env: { ...process.env, CUDA_VISIBLE_DEVICES: '' } });
let output = '';
let error = '';
python.stdout.on('data', (data) => {