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

Context prompt cli option #128

Merged
merged 2 commits into from
Sep 26, 2022
Merged

Context prompt cli option #128

merged 2 commits into from
Sep 26, 2022

Conversation

VulumeCode
Copy link
Contributor

Add --prompt "context" option to lead in the transcription. This can be used to introduce proper names or indicate a technical context.

@jongwook jongwook merged commit 2037b65 into openai:main Sep 26, 2022
@jongwook
Copy link
Collaborator

Thanks! I replaced the walrus operator for Python 3.7 compatibility (which is helpful since Colab is still on py37), and renamed the option "initial_prompt".

@VulumeCode VulumeCode deleted the contextPrompt branch September 26, 2022 15:34
@nlgtuankiet
Copy link

@jongwook that is a great consideration, many people use Colab to explore Whisper. Maintaining compatibility with Colab makes Whisper more accessible.

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