Skip to content

Commit

Permalink
added mock testing and local model
Browse files Browse the repository at this point in the history
  • Loading branch information
jim-gyas committed Jan 3, 2025
1 parent dfca747 commit 081cba0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/test_audio_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ def test_get_split_audio(self, mock_pipeline, mock_initialize_vad):
"""
# Define mock VAD outputs for each audio file
vad_outputs = {
"NW_001": "tests/data/vad_output/NW_001_vad_output.json",
"NW_002": "tests/data/vad_output/NW_002_vad_output.json",
"NW_003": "tests/data/vad_output/NW_003_vad_output.json",
"NW_001": "/Users/ogyenthoga/Desktop/Work/stt-data-with-llm/tests/data/vad_output/NW_001_vad_output.json",
"NW_002": "/Users/ogyenthoga/Desktop/Work/stt-data-with-llm/tests/data/vad_output/NW_002_vad_output.json",
"NW_003": "/Users/ogyenthoga/Desktop/Work/stt-data-with-llm/tests/data/vad_output/NW_003_vad_output.json",
}
# Load all VAD outputs dynamically
mock_vad_results = {}
Expand Down

0 comments on commit 081cba0

Please sign in to comment.