Skip to content

fix(python): Add an error check for tot_samples to prevent zero division error#1730

Open
hstsethi wants to merge 1 commit intoalphacep:masterfrom
hstsethi:master
Open

fix(python): Add an error check for tot_samples to prevent zero division error#1730
hstsethi wants to merge 1 commit intoalphacep:masterfrom
hstsethi:master

Conversation

@hstsethi
Copy link

As I shared in #1728, it throws such error if the input is not a valid audio file.

I have added this check to alert user about it, and prevent division by zero error, until the issue is fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant