fix: pass whisper backend to solo pipeline transcribe_file call
This commit is contained in:
@@ -69,6 +69,7 @@ async def _run_solo_pipeline(cfg, wav_path, output_dir, instructions):
|
|||||||
model_name=cfg["whisper"]["model"],
|
model_name=cfg["whisper"]["model"],
|
||||||
device=cfg["whisper"]["device"],
|
device=cfg["whisper"]["device"],
|
||||||
base_url=cfg["whisper"].get("base_url", ""),
|
base_url=cfg["whisper"].get("base_url", ""),
|
||||||
|
backend=cfg["whisper"].get("backend", "openai"),
|
||||||
)
|
)
|
||||||
await broadcast({"event": "transcribed", "raw": raw_text})
|
await broadcast({"event": "transcribed", "raw": raw_text})
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user