Extension load count improvement needed
LankyPoet opened this issue · comments
LankyPoet commented
I am using SD.Next with the dynamic prompts extension.
In the new dev branch, they have implemented better logic to load extensions in parallel.
However this causes a strange issue with Dynamic Prompts as it then loads in two "Wildcards Manager" tabs at the top.
Since it is loading in parallel, a second copy starts loading before first finished, so it thinks it is the first copy.
In sd_dynmic_prompts/dynamic_prompting.py , instead of:
global loaded_count
loaded_count += 1
if loaded_count % 2 == 0:
return
consider changing to something like:
if loaded_count > 0:
return
loaded_count += 1
Thank you!
gohan2091 commented