fix(dashboard): stop infinite mock loop; add demo-mode warning banner
--dashboard defaulted to looping mock STT forever, so the status page piled up thousands of fake "conversations" (all mock, 0ms, same reply) that looked like real traffic. Now it plays 3 sample utterances then idles; a loud 데모 모드 banner states the turns are mock samples, not real STT/Brain/TTS. Continuous demo moved behind --dashboard-loop-demo. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
@@ -130,12 +130,15 @@ ffmpeg 디코드 → 프레임. DAVE는 `@snazzah/davey`(Rust NAPI), 수신은 `
|
||||
|
||||
```bash
|
||||
.venv/bin/python -m wsai --voice # 눈 없는 음성 루프 데모 (STT→두뇌→TTS, 지금 초점)
|
||||
.venv/bin/python -m wsai --dashboard # 상태 사이트 + 짧은 mock 샘플 후 대기(무한 생성 안 함)
|
||||
.venv/bin/python -m wsai # mock 데모 (눈 포함 전체 흐름, 몇 프레임 돌고 종료)
|
||||
.venv/bin/python -m wsai --env # WSAI_* 환경변수로 백엔드 조립
|
||||
.venv/bin/python -m pip install pytest && .venv/bin/python -m pytest -q # 스모크 테스트
|
||||
```
|
||||
|
||||
- `WSAI_SOURCE=none WSAI_VISION=none` 으로도 눈 없이(음성 루프만) 조립할 수 있다.
|
||||
- `--dashboard`는 기본으로 mock 발화 3개만 만든 뒤 대기한다. UI 시연용으로 계속 만들고 싶을 때만
|
||||
`--dashboard-loop-demo`를 추가한다.
|
||||
- 백엔드별 추가 설치는 `requirements.txt` 주석 참고(faster-whisper, mss/pillow, anthropic 등).
|
||||
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user