refactor: remove constants and put in config file #24

Merged
8464960 merged 14 commits from refactor/config-file into dev 2025-11-19 16:31:52 +00:00
Showing only changes of commit 98dd2637c0 - Show all commits

View File

@@ -74,6 +74,9 @@ async def simulate_streaming_with_probabilities(streaming, probabilities: list[f
@pytest.mark.asyncio
async def test_voice_activity_detected(audio_in_socket, audio_out_socket, streaming):
"""
Test a scenario where there is voice activity detected between silences.
"""
speech_chunk_count = 5
probabilities = [0.0] * 5 + [1.0] * speech_chunk_count + [0.0] * 5
await simulate_streaming_with_probabilities(streaming, probabilities)