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
994aaadf
Commit
994aaadf
authored
Oct 24, 2022
by
yfszzx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
a strange bug
parent
68931242
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
stable-diffusion-webui-inspiration
extensions/stable-diffusion-webui-inspiration
+1
-1
ui.py
modules/ui.py
+4
-0
No files found.
stable-diffusion-webui-inspiration
@
c50c03ac
Subproject commit
a0b96664d2524b87916ae463fbb65411b13a569b
Subproject commit
c50c03ac8fd2f6317d17d0c8c7c1ce26e6fe5cd7
modules/ui.py
View file @
994aaadf
...
...
@@ -55,6 +55,7 @@ mimetypes.init()
mimetypes
.
add_type
(
'application/javascript'
,
'.js'
)
txt2img_paste_fields
=
[]
img2img_paste_fields
=
[]
init_img_components
=
{}
if
not
cmd_opts
.
share
and
not
cmd_opts
.
listen
:
...
...
@@ -1174,6 +1175,9 @@ def create_ui(wrap_gradio_gpu_call):
outputs
=
[
init_img_with_mask
],
)
global
init_img_components
init_img_components
=
{
"img2img"
:
init_img
,
"inpaint"
:
init_img_with_mask
,
"extras"
:
extras_image
}
with
gr
.
Blocks
(
analytics_enabled
=
False
)
as
pnginfo_interface
:
with
gr
.
Row
()
.
style
(
equal_height
=
False
):
with
gr
.
Column
(
variant
=
'panel'
):
...
...
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