Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion audio_separator/separator/separator.py
Original file line number Diff line number Diff line change
Expand Up @@ -962,7 +962,7 @@ def _process_with_chunking(self, audio_file_path, custom_output_names=None):
self.model_instance.output_dir = temp_dir

try:
output_files = self._separate_file(chunk_path, custom_output_names)
output_files = self._separate_file(chunk_path)

# Dynamically group chunks by stem name
for stem_path in output_files:
Expand Down
2 changes: 1 addition & 1 deletion tests/unit/test_separator_chunking.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,7 +318,7 @@ def test_state_restoration_after_chunking(self, mock_chunker_class):

# Track state changes during _separate_file call
state_during_processing = {}
def track_state(chunk_path, custom_names):
def track_state(chunk_path, custom_names=None):
state_during_processing['chunk_duration'] = separator.chunk_duration
state_during_processing['output_dir'] = separator.output_dir
state_during_processing['model_output_dir'] = separator.model_instance.output_dir
Expand Down
Loading