mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2025-12-08 03:20:29 -08:00
Added job_timestamp to Processed
So `[job_timestamp]` pattern can use in saving image UI.
This commit is contained in:
parent
070b7d60cf
commit
1cc36d170a
2 changed files with 3 additions and 1 deletions
|
|
@ -122,6 +122,7 @@ class Processed:
|
|||
self.extra_generation_params = p.extra_generation_params
|
||||
self.index_of_first_image = index_of_first_image
|
||||
self.styles = p.styles
|
||||
self.job_timestamp = state.job_timestamp
|
||||
|
||||
self.eta = p.eta
|
||||
self.ddim_discretize = p.ddim_discretize
|
||||
|
|
@ -167,6 +168,7 @@ class Processed:
|
|||
"index_of_first_image": self.index_of_first_image,
|
||||
"infotexts": self.infotexts,
|
||||
"styles": self.styles,
|
||||
"job_timestamp": self.job_timestamp,
|
||||
}
|
||||
|
||||
return json.dumps(obj)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue