From 701a2087cf2f64144ca74f23485efc0c6add663a Mon Sep 17 00:00:00 2001 From: Chenlei Hu Date: Sun, 21 Apr 2024 10:51:14 -0400 Subject: [PATCH] Fix xyz module name (#99) --- scripts/dynamic_thresholding.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/dynamic_thresholding.py b/scripts/dynamic_thresholding.py index 60a96b2..a5d40d2 100644 --- a/scripts/dynamic_thresholding.py +++ b/scripts/dynamic_thresholding.py @@ -234,7 +234,7 @@ def combine_denoised(self, x_out, conds_list, uncond, cond_scale): ######################### XYZ Plot Script Support logic ######################### def make_axis_options(): - xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ == "xyz_grid.py"][0].module + xyz_grid = [x for x in scripts.scripts_data if x.script_class.__module__ in ("xyz_grid.py", "scripts.xyz_grid")][0].module def apply_mimic_scale(p, x, xs): if x != 0: setattr(p, "dynthres_enabled", True)