Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
S
Stable Diffusion Webui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
novelai-storage
Stable Diffusion Webui
Commits
dc5b5ee9
Commit
dc5b5ee9
authored
Aug 13, 2023
by
w-e-w
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
properly convert this into CSV string
parent
299eb543
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
scripts/xyz_grid.py
scripts/xyz_grid.py
+3
-3
No files found.
scripts/xyz_grid.py
View file @
dc5b5ee9
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment