lenML / Speech-AI-Forge

🍦 Speech-AI-Forge is a project developed around TTS generation model, implementing an API Server and a Gradio-based WebUI.
https://huggingface.co/spaces/lenML/ChatTTS-Forge
GNU Affero General Public License v3.0
711 stars 87 forks source link

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

Closed zpengcom closed 4 months ago

zpengcom commented 4 months ago

(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