计划执行与检查节点
executing-plans
按既定实施计划完成工作,保持过程检查和反馈。
stt【效率与协作】Operate the STT local speech-to-text app for setup, browser uploads, HTTP transcription APIs, and CUDA-aware troubleshooting.
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Use this skill when the task is about the jianchang512/stt local speech-to-text app: installing it, launching the local server, transcribing audio/video through the browser UI, calling its HTTP APIs, or debugging ffmpeg/model/CUDA failures.
The app is a Flask/gevent service around faster-whisper. It exposes a browser UI plus a legacy /api endpoint and an OpenAI-compatible /v1/audio/transcriptions endpoint. It can run on CPU by default and can use NVIDIA CUDA when the runtime and model stack are prepared.
sub-skills/setup/SKILL.md when the user asks how to install dependencies, choose Python, place models, configure set.ini, verify ffmpeg/ffprobe, launch the local server, or enable/diagnose CUDA.sub-skills/transcription/SKILL.md when the user wants browser upload steps, batch exports, request fields for /api, OpenAI SDK/client integration, or response-format parsing.references/troubleshooting.md when symptoms span launch and request handling, such as model downloads, empty output, update-check noise, or backend warnings.references/overview.md for the component map and references/repo-provenance.md before assuming the generated skill matches a newer checkout.127.0.0.1:9977 unless the runtime config changes it.text, json, and srt.{code, msg, data}; the OpenAI-compatible endpoint uses the /v1/audio/transcriptions route and OpenAI-style multipart fields.For a fresh source checkout, create an isolated Python environment, install the runtime dependencies, and run the lightweight runtime probe before launching:
python -m pip install -r requirements.txt
python scripts/check-runtime.py --repo-root <checkout>
If CUDA needs to be checked, use sub-skills/setup/scripts/check-cuda.py after the runtime probe. Then route to sub-skills/setup/SKILL.md or sub-skills/transcription/SKILL.md for the detailed workflow.
Use these helpers instead of relying on source examples directly:
scripts/check-runtime.py checks core imports and ffmpeg/ffprobe availability from a candidate checkout.sub-skills/setup/scripts/check-cuda.py reports optional CUDA/CuDNN/CTranslate2 visibility without blocking when CUDA is absent.sub-skills/setup/scripts/launch-server.py wraps the repo launcher with sanity checks.sub-skills/transcription/scripts/api-smoke.py adapts the repo's API example into an argument-driven client smoke test.cuda_com_type in config but does not pass that key into WhisperModel; do not promise it changes compute type unless the code changes.sub-skills/setup/references/configuration.md before diagnosing a config setting that appears ignored.references/repo-routing-metadata.json places this skill in the speech-ai-modeling-and-audio-workflows scenario for managed repo-skill import. This run was requested as not import, so treat that metadata as ready for later verification/import tooling, not as evidence that import already happened.