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

UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 4556: illegal multibyte sequence #33

Closed
zpengcom opened this issue Jun 11, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@zpengcom
Copy link

(chattts-forge) I:\AI\ChatTTS-Forge>python webui.py
fatal: No names found, cannot describe anything.
2024-06-11 18:57:06,415 - httpx - INFO - HTTP Request: GET https://api.gradio.app/gradio-messaging/en "HTTP/1.1 200 OK"
2024-06-11 18:57:07,358 - modules.generate_audio - INFO - LRU cache enabled with size 64
2024-06-11 18:57:07,358 - modules.devices.devices - INFO - Using full precision: torch.float32
2024-06-11 18:57:07,360 - modules.devices.devices - INFO - Using device: cuda
2024-06-11 18:57:07,644 - modules.webui.app - INFO - WebUI module initialized
2024-06-11 18:57:07,644 - modules.webui.localization - INFO - Loaded localization file I:\AI\ChatTTS-Forge\language\zh-CN.json
Traceback (most recent call last):
File "I:\AI\ChatTTS-Forge\webui.py", line 152, in
process_webui_args(args)
File "I:\AI\ChatTTS-Forge\webui.py", line 93, in process_webui_args
demo = create_interface()
^^^^^^^^^^^^^^^^^^
File "I:\AI\ChatTTS-Forge\modules\webui\app.py", line 67, in create_interface
gradio_extensions.reload_javascript()
File "I:\AI\ChatTTS-Forge\modules\webui\gradio_extensions.py", line 49, in reload_javascript
js = javascript_html()
^^^^^^^^^^^^^^^^^
File "I:\AI\ChatTTS-Forge\modules\webui\gradio_extensions.py", line 34, in javascript_html
head += sf("js/index.js")
^^^^^^^^^^^^^^^^^
File "I:\AI\ChatTTS-Forge\modules\webui\gradio_extensions.py", line 29, in sf
return s(read_file(fp))
^^^^^^^^^^^^^
File "I:\AI\ChatTTS-Forge\modules\webui\gradio_extensions.py", line 18, in read_file
return f.read()
^^^^^^^^
UnicodeDecodeError: 'gbk' codec can't decode byte 0xaf in position 4556: illegal multibyte sequence

@zhzLuke96 zhzLuke96 added the bug Something isn't working label Jun 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants