Add whisper_stt CLI with default diarization, Ubuntu README, editor config

- Replace test.py with whisper_stt.py: OpenAI Whisper + default speaker diarization
  via local ./models/pyannote-diarization-3.1; --no-diarize for plain text
- Add requirements-whisper-stt.txt (whisper, pyannote, huggingface_hub, imageio-ffmpeg)
- README: stt conda env, Ubuntu/macOS ffmpeg, CLI usage
- .vscode: Python interpreter /opt/anaconda3/envs/stt; .cursor rule for stt env
- .gitignore: exclude downloaded pyannote snapshot under models/

Made-with: Cursor
This commit is contained in:
dosangyoon
2026-03-23 11:34:46 +09:00
parent 78244da09f
commit 1c25bed926
7 changed files with 412 additions and 98 deletions

View File

@@ -0,0 +1,12 @@
---
description: 이 저장소는 Conda 가상환경 stt(Python 3.11)를 사용한다
alwaysApply: true
---
# Conda 환경 `stt`
- 이 프로젝트의 Python·pip 작업은 **conda 환경 `stt`** 기준으로 한다.
- 터미널에서 명령을 실행할 때는 `source "$(conda info --base)/etc/profile.d/conda.sh" && conda activate stt` 후 실행하거나, 인터프리터를 `/opt/anaconda3/envs/stt/bin/python`으로 지정한다.
- 패키지 추가·업그레이드: `conda activate stt` 뒤 `pip install …` (또는 `python -m pip …`).
- `whisper_stt.py`·`requirements-whisper-stt.txt` 관련 작업은 이 환경과 맞춘다.
- Anaconda 설치 경로가 다른 머신에서는 `.vscode/settings.json`의 `python.defaultInterpreterPath` / `python.condaPath`를 해당 경로로 바꾼다.