2026-03-02T07-41-08_auto_memory/memories.db-wal
This commit is contained in:
parent
3a41ca2103
commit
1db07d8f14
Binary file not shown.
@ -58,8 +58,10 @@ async function transcribeWithWhisper(wavPath: string): Promise<string> {
|
||||
const python = spawn(PYWHISPER_PYTHON, [
|
||||
'-c',
|
||||
`
|
||||
import os
|
||||
os.environ['GGML_CUDA'] = '0'
|
||||
from pywhispercpp.model import Model
|
||||
model = Model('${PYWHISPER_MODEL}')
|
||||
model = Model('${PYWHISPER_MODEL}', no_gpu=True)
|
||||
segments = model.transcribe('${wavPath}')
|
||||
print(' '.join(seg.text for seg in segments))
|
||||
`.trim(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user