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

Use huggingface-cache if HF_HUB_OFFLINE is set #264

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

Conversation

TheMasterFX
Copy link

This PR modifies the list_local_whisper_models to return the same structure as list_whisper_models to enable the possibility to use the huggingface cache if HF_HUB_OFFLINE is set. Also it modifies the get_models function to use the according function depending on HF_HUB_OFFLINE.
This PR also introduces a dropdown in the WebUI for selecting the output format (text,json, srt..) SRT seems not to work in streaming mode.
You need to be online once to download the README.md which is used to fill the metadata

You need to be online once to download the README.md which is used to fill the metadata
@fedirz
Copy link
Collaborator

fedirz commented Jan 24, 2025

Thanks for the PR. The change makes sense, and I plan to merge it after v0.7.0 (hopefully this Sunday)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants