Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix models.yml loading #162

Merged
merged 1 commit into from
Jun 12, 2022
Merged

Fix models.yml loading #162

merged 1 commit into from
Jun 12, 2022

Commits on Jun 12, 2022

  1. Fix models.yml loading

    `models.yml` file is located two directories above `silero.py`, however
    line:
    
    ```
    models_list_file = os.path.join(os.path.dirname(__file__), "models.yml")
    ```
    
    tries to find it in the same directory.
    
    This results to extra download, which will fail in case current dir is
    set to something that is not user-writable.
    
    This commit fixes the path.
    rominf committed Jun 12, 2022
    Configuration menu
    Copy the full SHA
    47732b0 View commit details
    Browse the repository at this point in the history