Files
sd-webui-prompt-all-in-one/scripts/physton_prompt
ねおん 077daf3f6e FIX: Prevent critical TypeError in token counter with robust null check (v4)
The token counter was crashing during model loading/unloading (race condition) because it was attempting to access attributes on an object that was momentarily None.

This fix introduces a sequential and robust null check (sd_models.model_data is None or sd_models.model_data.sd_model is None) at the start of the function to safely return 0 tokens during unstable states.
2025-11-26 02:07:14 +09:00
..
2024-03-28 23:38:57 +08:00
2023-11-26 18:22:09 +08:00
2023-06-15 17:21:56 +08:00
2023-10-31 15:23:11 +08:00
2023-08-18 18:24:17 +08:00
2023-06-15 17:21:56 +08:00
2023-06-17 15:38:00 +08:00
2023-06-24 15:41:23 +08:00
2023-07-14 17:02:12 +08:00