Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
S
stable-diffusion-webui
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
stable-diffusion-webui
Commits
f347ddfd
Commit
f347ddfd
authored
Oct 10, 2022
by
RW21
Committed by
AUTOMATIC1111
Oct 10, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove max_batch_count from ui.py
parent
ce37fdd3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ui.py
modules/ui.py
+2
-2
No files found.
modules/ui.py
View file @
f347ddfd
...
@@ -524,7 +524,7 @@ def create_ui(wrap_gradio_gpu_call):
...
@@ -524,7 +524,7 @@ def create_ui(wrap_gradio_gpu_call):
denoising_strength
=
gr
.
Slider
(
minimum
=
0.0
,
maximum
=
1.0
,
step
=
0.01
,
label
=
'Denoising strength'
,
value
=
0.7
)
denoising_strength
=
gr
.
Slider
(
minimum
=
0.0
,
maximum
=
1.0
,
step
=
0.01
,
label
=
'Denoising strength'
,
value
=
0.7
)
with
gr
.
Row
():
with
gr
.
Row
():
batch_count
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
cmd_opts
.
max_batch_count
,
step
=
1
,
label
=
'Batch count'
,
value
=
1
)
batch_count
=
gr
.
Slider
(
minimum
=
1
,
step
=
1
,
label
=
'Batch count'
,
value
=
1
)
batch_size
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
8
,
step
=
1
,
label
=
'Batch size'
,
value
=
1
)
batch_size
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
8
,
step
=
1
,
label
=
'Batch size'
,
value
=
1
)
cfg_scale
=
gr
.
Slider
(
minimum
=
1.0
,
maximum
=
30.0
,
step
=
0.5
,
label
=
'CFG Scale'
,
value
=
7.0
)
cfg_scale
=
gr
.
Slider
(
minimum
=
1.0
,
maximum
=
30.0
,
step
=
0.5
,
label
=
'CFG Scale'
,
value
=
7.0
)
...
@@ -710,7 +710,7 @@ def create_ui(wrap_gradio_gpu_call):
...
@@ -710,7 +710,7 @@ def create_ui(wrap_gradio_gpu_call):
tiling
=
gr
.
Checkbox
(
label
=
'Tiling'
,
value
=
False
)
tiling
=
gr
.
Checkbox
(
label
=
'Tiling'
,
value
=
False
)
with
gr
.
Row
():
with
gr
.
Row
():
batch_count
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
cmd_opts
.
max_batch_count
,
step
=
1
,
label
=
'Batch count'
,
value
=
1
)
batch_count
=
gr
.
Slider
(
minimum
=
1
,
step
=
1
,
label
=
'Batch count'
,
value
=
1
)
batch_size
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
8
,
step
=
1
,
label
=
'Batch size'
,
value
=
1
)
batch_size
=
gr
.
Slider
(
minimum
=
1
,
maximum
=
8
,
step
=
1
,
label
=
'Batch size'
,
value
=
1
)
with
gr
.
Group
():
with
gr
.
Group
():
...
...
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