2026-03-02T07-43-05_auto_memory/memories.db-wal

This commit is contained in:
Nicholai Vogel 2026-03-02 00:43:05 -07:00
parent 5b3b7bc0fa
commit ecdacc25bc
2 changed files with 2 additions and 1 deletions

Binary file not shown.

View File

@ -59,9 +59,10 @@ async function transcribeWithWhisper(wavPath: string): Promise<string> {
'-c',
`
import os
os.environ['CUDA_VISIBLE_DEVICES'] = ''
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(),