aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-09-09 08:18:51 +0300
committerGitHub <noreply@github.com>2023-09-09 08:18:51 +0300
commit741e8ecb7d2192ed3bdeabab1b8827d25fafa543 (patch)
treed46c728d1c75ab2a48ce8dd33ffbef9eaa96cfe3 /modules
parentd39440bfb9d3b20338fc23a78e6655b1e2f7c1d5 (diff)
parentf11eec81e31bfc9195bbacda13b2a3ce7b98fd92 (diff)
Merge pull request #13135 from ibrainventures/patch-2
(feat) Include Program Version in info response. Update processing.py
Diffstat (limited to 'modules')
-rw-r--r--modules/processing.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/processing.py b/modules/processing.py
index e124e7f0..0c191428 100644
--- a/modules/processing.py
+++ b/modules/processing.py
@@ -533,6 +533,7 @@ class Processed:
self.all_seeds = all_seeds or p.all_seeds or [self.seed]
self.all_subseeds = all_subseeds or p.all_subseeds or [self.subseed]
self.infotexts = infotexts or [info]
+ self.version = program_version()
def js(self):
obj = {
@@ -567,6 +568,7 @@ class Processed:
"job_timestamp": self.job_timestamp,
"clip_skip": self.clip_skip,
"is_using_inpainting_conditioning": self.is_using_inpainting_conditioning,
+ "version": self.version,
}
return json.dumps(obj)