diff options
author | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-12 17:21:04 +0000 |
---|---|---|
committer | w-e-w <40751091+w-e-w@users.noreply.github.com> | 2023-08-12 17:21:04 +0000 |
commit | dc5b5ee9c6beef9fa6ac9e8f9041063075e8d1e6 (patch) | |
tree | 68271402170eaf780239634e72e82774afe8c20e /scripts | |
parent | 299eb543083668a945d6074753ea8e8f13e7d66d (diff) | |
download | stable-diffusion-webui-gfx803-dc5b5ee9c6beef9fa6ac9e8f9041063075e8d1e6.tar.gz stable-diffusion-webui-gfx803-dc5b5ee9c6beef9fa6ac9e8f9041063075e8d1e6.tar.bz2 stable-diffusion-webui-gfx803-dc5b5ee9c6beef9fa6ac9e8f9041063075e8d1e6.zip |
properly convert this into CSV string
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/xyz_grid.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/xyz_grid.py b/scripts/xyz_grid.py index 254a75f4..0350e52a 100644 --- a/scripts/xyz_grid.py +++ b/scripts/xyz_grid.py @@ -577,17 +577,17 @@ class Script(scripts.Script): x_opt = self.current_axis_options[x_type]
if x_opt.choices is not None and not csv_mode:
- x_values = ",".join(x_values_dropdown)
+ x_values = list_to_csv_string(x_values_dropdown)
xs = process_axis(x_opt, x_values, x_values_dropdown)
y_opt = self.current_axis_options[y_type]
if y_opt.choices is not None and not csv_mode:
- y_values = ",".join(y_values_dropdown)
+ y_values = list_to_csv_string(y_values_dropdown)
ys = process_axis(y_opt, y_values, y_values_dropdown)
z_opt = self.current_axis_options[z_type]
if z_opt.choices is not None and not csv_mode:
- z_values = ",".join(z_values_dropdown)
+ z_values = list_to_csv_string(z_values_dropdown)
zs = process_axis(z_opt, z_values, z_values_dropdown)
# this could be moved to common code, but unlikely to be ever triggered anywhere else
|