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
99585b35
Commit
99585b35
authored
Sep 17, 2022
by
AUTOMATIC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
moved progressbar to top by request
parent
f8f17e3b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
3 deletions
+10
-3
ui.py
modules/ui.py
+4
-3
style.css
style.css
+6
-0
No files found.
modules/ui.py
View file @
99585b35
...
...
@@ -337,6 +337,8 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
custom_inputs
=
modules
.
scripts
.
scripts_txt2img
.
setup_ui
(
is_img2img
=
False
)
with
gr
.
Column
(
variant
=
'panel'
):
progressbar
=
gr
.
HTML
(
elem_id
=
"progressbar"
)
with
gr
.
Group
():
txt2img_preview
=
gr
.
Image
(
elem_id
=
'txt2img_preview'
,
visible
=
False
)
txt2img_gallery
=
gr
.
Gallery
(
label
=
'Output'
,
elem_id
=
'txt2img_gallery'
)
.
style
(
grid
=
4
)
...
...
@@ -349,8 +351,6 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
send_to_extras
=
gr
.
Button
(
'Send to extras'
)
interrupt
=
gr
.
Button
(
'Interrupt'
)
progressbar
=
gr
.
HTML
(
elem_id
=
"progressbar"
)
with
gr
.
Group
():
html_info
=
gr
.
HTML
()
generation_info
=
gr
.
Textbox
(
visible
=
False
)
...
...
@@ -474,6 +474,8 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
custom_inputs
=
modules
.
scripts
.
scripts_img2img
.
setup_ui
(
is_img2img
=
True
)
with
gr
.
Column
(
variant
=
'panel'
):
progressbar
=
gr
.
HTML
(
elem_id
=
"progressbar"
)
with
gr
.
Group
():
img2img_preview
=
gr
.
Image
(
elem_id
=
'img2img_preview'
,
visible
=
False
)
img2img_gallery
=
gr
.
Gallery
(
label
=
'Output'
,
elem_id
=
'img2img_gallery'
)
.
style
(
grid
=
4
)
...
...
@@ -487,7 +489,6 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
interrupt
=
gr
.
Button
(
'Interrupt'
)
img2img_save_style
=
gr
.
Button
(
'Save prompt as style'
)
progressbar
=
gr
.
HTML
(
elem_id
=
"progressbar"
)
with
gr
.
Group
():
html_info
=
gr
.
HTML
()
...
...
style.css
View file @
99585b35
...
...
@@ -167,6 +167,12 @@ input[type="range"]{
#txt2img_negative_prompt
,
#img2img_negative_prompt
{
}
#progressbar
{
position
:
absolute
;
z-index
:
1000
;
right
:
0
;
}
.progressDiv
{
width
:
100%
;
height
:
30px
;
...
...
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