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

convert_output.py " 'charmap' codec can't decode byte 0x90" #239

Open
thebigboss9018 opened this issue Aug 4, 2024 · 0 comments
Open

convert_output.py " 'charmap' codec can't decode byte 0x90" #239

thebigboss9018 opened this issue Aug 4, 2024 · 0 comments

Comments

@thebigboss9018
Copy link

Hello guys,

Im using insanely-fast-whisper to transcribe some audios in chinese (original audio in chinese as well). Then I used the convert_output.py to convert the json to srt, but Im getting this error.

File "C:\Users\xxx\convert_output.py", line 101, in
main()
File "C:\Users\xxx\convert_output.py", line 96, in main
convert(args.input_file, args.output_format, args.output_dir, args.verbose)
File "C:\Users\xxx\convert_output.py", line 67, in convert
data = json.load(file)
File "C:\Program Files\Python310\lib\json_init_.py", line 293, in load
return loads(fp.read(),
File "C:\Program Files\Python310\lib\encodings\cp1252.py", line 23, in decode
return codecs.charmap_decode(input,self.errors,decoding_table)[0]
UnicodeDecodeError: 'charmap' codec can't decode byte 0x90 in position 128: character maps to

any help? thanks

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

1 participant