2026-03-02T07-43-05_auto_memory/memories.db-wal
This commit is contained in:
parent
5b3b7bc0fa
commit
ecdacc25bc
Binary file not shown.
@ -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(),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user