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