Won't create tab | Error executing callback ui_tabs_callback
Hello,
I have this error, i think something with char coding. I've tried to solve it:
- checked the coding of style.css (UTF-8)
- tried to add this: with open('style.css', 'r', encoding='utf-8') as css_file: self.css = css_file.read()
• version: [v1.6.0-2-g4afaaf8a] • python: 3.10.11 • torch: 2.0.1+cu118 • xformers: 0.0.20 • gradio: 3.41.2
*** Error executing callback ui_tabs_callback for E:\AI_generate\stable-diffusion-webui\extensions\facechain\scripts\facechain_sdwebui.py
Traceback (most recent call last):
File "E:\AI_generate\stable-diffusion-webui\modules\script_callbacks.py", line 166, in ui_tabs_callback
res += c.callback() or []
File "E:\AI_generate\stable-diffusion-webui\extensions\facechain\scripts\facechain_sdwebui.py", line 15, in on_ui_tabs
import app
File "E:\AI_generate\stable-diffusion-webui\extensions\facechain\app.py", line 1434, in
Go to Control Panel -> Region -> Change system locale... -> check Beta: Use Unicode UTF-8 for worldwide language support -> click Ok -> reboot Windows. I suppose the error is because of the Chinese text, but it works for me after I checked that box.
Go to Control Panel -> Region -> Change system locale... -> check Beta: Use Unicode UTF-8 for worldwide language support -> click Ok -> reboot Windows. I suppose the error is because of the Chinese text, but it works for me after I checked that box.转到控制面板 -> 区域 -> 更改系统区域设置... ->检查 Beta:使用 Unicode UTF-8 获得全球语言支持 ->单击确定 ->重新启动 Windows。我想这个错误是因为中文文本,但在我选中该框后它对我有用。
非常好方法,爱来自瓷器
Go to Control Panel -> Region -> Change system locale... -> check Beta: Use Unicode UTF-8 for worldwide language support -> click Ok -> reboot Windows. I suppose the error is because of the Chinese text, but it works for me after I checked that box.
Thank you very much. Work for me!
please try out the newest train-free, 10s inference version facechain-fact.

