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

Updated asr.py to allow replacing initial_prompt on transcribe method. #882

Closed
wants to merge 1 commit into from

Conversation

clararoft
Copy link

Added the initial_prompt parameter to the transcribe method, allowing dynamic updates to the initial prompt set during model initialization.

@rbgreenway
Copy link

This is a simple, yet very useful PR. When can we get it merged?

@Barabazs
Copy link
Collaborator

Barabazs commented Jan 5, 2025

Hi @clararoft the initial_prompt can already be set when initializing the FasterWhisperPipeline in asr.py (part of the options). I'm going to close this PR.

@Barabazs Barabazs closed this Jan 5, 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.

3 participants