Extract duplicated code (Whisper loading, audio recording, transcription, VAD processing) into reusable sttlib/ package. Rewrite all 3 scripts as thin wrappers. Add 24 unit tests with mocked hardware. Fix GPU fallback bug in assistant.py and args.system assignment bug.
11 lines
329 B
JSON
11 lines
329 B
JSON
{
|
|
"python-envs.defaultEnvManager": "ms-python.python:conda",
|
|
"python-envs.defaultPackageManager": "ms-python.python:conda",
|
|
"python-envs.pythonProjects": [],
|
|
"python.testing.pytestEnabled": true,
|
|
"python.testing.unittestEnabled": false,
|
|
"python.testing.pytestArgs": [
|
|
"tests",
|
|
"-v"
|
|
]
|
|
} |