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
6486ec9a
Commit
6486ec9a
authored
Sep 19, 2022
by
trufty
Committed by
AUTOMATIC1111
Sep 19, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automatically show PNGinfo when uploading image
parent
dd911a47
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
extras.py
modules/extras.py
+3
-0
ui.py
modules/ui.py
+1
-0
No files found.
modules/extras.py
View file @
6486ec9a
...
@@ -98,6 +98,9 @@ def run_extras(image, image_folder, gfpgan_visibility, codeformer_visibility, co
...
@@ -98,6 +98,9 @@ def run_extras(image, image_folder, gfpgan_visibility, codeformer_visibility, co
def
run_pnginfo
(
image
):
def
run_pnginfo
(
image
):
if
image
is
None
:
return
''
,
''
,
''
items
=
image
.
info
items
=
image
.
info
if
"exif"
in
image
.
info
:
if
"exif"
in
image
.
info
:
...
...
modules/ui.py
View file @
6486ec9a
...
@@ -806,6 +806,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
...
@@ -806,6 +806,7 @@ def create_ui(txt2img, img2img, run_extras, run_pnginfo):
],
],
allow_flagging
=
"never"
,
allow_flagging
=
"never"
,
analytics_enabled
=
False
,
analytics_enabled
=
False
,
live
=
True
,
)
)
def
create_setting_component
(
key
):
def
create_setting_component
(
key
):
...
...
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