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
16e7ac09
Commit
16e7ac09
authored
Sep 27, 2022
by
DepFA
Committed by
AUTOMATIC1111
Sep 27, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
job_timestamp initialization change
parent
78d6aef3
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
shared.py
modules/shared.py
+2
-1
No files found.
modules/shared.py
View file @
16e7ac09
...
...
@@ -66,7 +66,7 @@ class State:
job
=
""
job_no
=
0
job_count
=
0
job_timestamp
=
0
job_timestamp
=
'0'
sampling_step
=
0
sampling_steps
=
0
current_latent
=
None
...
...
@@ -80,6 +80,7 @@ class State:
self
.
job_no
+=
1
self
.
sampling_step
=
0
self
.
current_image_sampling_step
=
0
def
get_job_timestamp
(
self
):
return
datetime
.
datetime
.
now
()
.
strftime
(
"
%
Y
%
m
%
d
%
H
%
M
%
S"
)
...
...
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