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

Load local model #42

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Load local model #42

wants to merge 7 commits into from

Conversation

Kostis-S-Z
Copy link
Member

What's changing

Adds a checkbox whether the model from the dropdown is local or from HF.
Adds a function to load saved local model.

Closes #41

How to test it

Steps to test the changes:

  1. pip install -e .
  2. python src/speech_to_text_finetune/finetune_whisper.py (finetune a model first)
  3. Add in transcribe_app.py your local model dir
  4. python demo/transcribe_app.py
  5. Select local model dir + click the local checkbox
  6. Load model and test transcribing

Additional notes for reviewers

PR #18 enables adding your own model (local or HF) through the UI, instead of having to manually add it in the code.

I already...

  • Tested the changes in a working environment to ensure they work as expected
  • Added some tests for any new functionality
  • Updated the documentation (both comments in code and under /docs)

@Kostis-S-Z Kostis-S-Z requested a review from a team February 14, 2025 10:12
@Kostis-S-Z Kostis-S-Z self-assigned this Feb 14, 2025
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.

Load local model in transcribe app
1 participant