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

RuntimeError: Failed to beep #104

Closed
Purfview opened this issue Nov 9, 2023 · 7 comments
Closed

RuntimeError: Failed to beep #104

Purfview opened this issue Nov 9, 2023 · 7 comments

Comments

@Purfview
Copy link
Owner

Purfview commented Nov 9, 2023

Moved to Issues

Originally posted by ZephyrOtk November 9, 2023
Hello, Im facing an error at the end of the transcribe/translate process, however, it doesn't affect the process and still export a subtitle file

Traceback (most recent call last):
File "D:\whisper-fast_main_.py", line 681, in
File "D:\whisper-fast_main_.py", line 676, in cli
RuntimeError: Failed to beep
[10580] Failed to execute script 'main' due to unhandled exception!

@Purfview
Copy link
Owner Author

Purfview commented Nov 9, 2023

@ZephyrOtk Where and how do you run it?

@ZephyrOtk
Copy link

ZephyrOtk commented Nov 10, 2023

@Purfview
on Windows 11, I run command like this one:

whisper-faster "Video-path" -l=en -m=large-v2 -bs=1 -ct=auto -pp --task=transcribe

@Purfview
Copy link
Owner Author

In what console?

@ZephyrOtk
Copy link

cmd as admin
Is that right, sorry I dont know too much about IT, just normal user

@Purfview
Copy link
Owner Author

When operation is finished it should produce a beep sound. For some reason it fails for you.

I don't have Win11 to test it, probably works for other users as you are first to post this. Try to update your sound drivers.

You can turn off beep with --beep_off.

@ZephyrOtk
Copy link

Got it, thank you for the information, however, it dont affect the result so I am fine with it.

@Purfview
Copy link
Owner Author

Yeah, it doesn't affect anything else, just a beep sound.

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

No branches or pull requests

2 participants