This code defines a function preprocess_split that takes an input dir…#633
Open
coolBrown12 wants to merge 1 commit intovoicepaw:mainfrom
Open
This code defines a function preprocess_split that takes an input dir…#633coolBrown12 wants to merge 1 commit intovoicepaw:mainfrom
coolBrown12 wants to merge 1 commit intovoicepaw:mainfrom
Conversation
…ectory of audio files, processes each file by splitting it into segments based on silence, and saves the resulting segments to an output directory.
Codecov ReportPatch coverage has no change and project coverage change:
❗ Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more. Additional details and impacted files@@ Coverage Diff @@
## main #633 +/- ##
==========================================
- Coverage 19.55% 19.39% -0.16%
==========================================
Files 39 40 +1
Lines 3427 3454 +27
Branches 477 480 +3
==========================================
Hits 670 670
- Misses 2740 2766 +26
- Partials 17 18 +1
☔ View full report in Codecov by Sentry. |
Collaborator
|
Please make changes directly without adding files to merge this PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Yes, there is a chance that the input file may not be loaded properly due to some errors. In case of any error while loading the file, the function will catch the exception and print a warning message in the logs. It will then skip processing the current file and move on to the next one. This is done to prevent the program from crashing due to any invalid files and to continue processing the valid ones.