diffus-me / sd-webui-facefusion

Next generation face swapper and enhancer
https://join.facefusion.io
92 stars 11 forks source link

ValueError: signal only works in main thread of the main interpreter #21

Closed GOATGAMER07 closed 7 months ago

GOATGAMER07 commented 9 months ago

Error executing callback ui_tabs_callback for D:\Personal\webui_forge_cu121_torch21\webui\extensions\sd-webui-facefusion\scripts\facefusion_ui.py Traceback (most recent call last): File "D:\Personal\webui_forge_cu121_torch21\webui\modules\script_callbacks.py", line 169, in ui_tabs_callback res += c.callback() or [] File "D:\Personal\webui_forge_cu121_torch21\webui\extensions\sd-webui-facefusion\scripts\facefusion_ui.py", line 12, in on_ui_tabs apply_args(get_argument_parser()) File "D:\Personal\webui_forge_cu121_torch21\webui\extensions\sd-webui-facefusion\facefusion\core.py", line 27, in get_argument_parser signal.signal(signal.SIGINT, lambda signal_number, frame: destroy()) File "signal.py", line 56, in signal ValueError: signal only works in main thread of the main interpreter

linjiX commented 7 months ago

Fixed in a901644cb7c74e1c37a25bb0796adad7b168bf42