- 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
13 KiB
13 KiB