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 bug where speechbrain would request files from HF even with local files provided #1254

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

gabrielziegler3
Copy link

#1253 Signed-off-by: Gabriel Ziegler gabrielziegler3@gmail.com

… files provided

Signed-off-by: Gabriel Ziegler <gabrielziegler3@gmail.com>
@mravanelli
Copy link
Collaborator

@Gastron

@gabrielziegler3
Copy link
Author

I believe that this change alone doesn't fix the whole issue, but the lines I changed were the one making fetch fallback to requesting from Hugging Face.

@anautsch anautsch self-requested a review April 5, 2022 09:07
@anautsch anautsch added this to In progress in CI/CD via automation Apr 21, 2022
@anautsch anautsch moved this from In progress to Performance & housekeeping in CI/CD Apr 21, 2022
@mravanelli
Copy link
Collaborator

What do you think of this PR @Gastron?

@Adel-Moumen
Copy link
Collaborator

Up @Gastron, could you please have a look ?

@Gastron
Copy link
Collaborator

Gastron commented Jan 18, 2024

Ooh this is an old PR, has somehow slipped past me, thanks for bringing it up again.

Copy link
Collaborator

@Gastron Gastron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This changes the if/else logic, and would unfortunately break the case where default_source is not specified.

It seems to me that this PR just stems from path specification that did not work. I wonder if it is a path like "./filename.ckpt", perhaps that is currently broken?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
CI/CD
Performance & housekeeping
Development

Successfully merging this pull request may close these issues.

None yet

4 participants