2026-03-02T07-44-11_auto_memory/memories.db-wal
This commit is contained in:
parent
9ddc0edcf9
commit
7bb1a27a3e
Binary file not shown.
6
tools/meeting-notes/dist/index.js
vendored
6
tools/meeting-notes/dist/index.js
vendored
@ -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) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user