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, [
|
const python = spawn(PYWHISPER_PYTHON, [
|
||||||
'-c',
|
'-c',
|
||||||
`
|
`
|
||||||
|
import os
|
||||||
|
os.environ['GGML_CUDA'] = '0'
|
||||||
from pywhispercpp.model import Model
|
from pywhispercpp.model import Model
|
||||||
model = Model('${PYWHISPER_MODEL}')
|
model = Model('${PYWHISPER_MODEL}', no_gpu=True)
|
||||||
segments = model.transcribe('${wavPath}')
|
segments = model.transcribe('${wavPath}')
|
||||||
print(' '.join(seg.text for seg in segments))
|
print(' '.join(seg.text for seg in segments))
|
||||||
`.trim(),
|
`.trim(),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user