Files
qwen3-tts-ra/qwen3-proxy/app.py
pi-bot-01 e91f92fbb6 fix: PCM streaming — missing Response import + wrong tuple unpacking
- Add Response to flask imports (caused NameError on every PCM request)
- Unpack (audio, sr, timing) tuple correctly from generate_custom_voice_streaming
  (was iterating the tuple itself, passing a 3-element object to np.clip)
- Move elapsed/chunk logging inside the generator so it fires after stream ends
- PCM streaming now working: 12c test → 2.3s audio in 1.8s, 3 chunks
2026-03-25 21:47:59 -07:00

13 KiB