Unverified Commit f11eec81 authored by ibrainventures's avatar ibrainventures Committed by GitHub
Browse files

(feat) Include Program Version in info response. Update processing.py

This would help to organize / memorize the program version for the creation process. (as it is also unformated included inside the infotext).
parent d39440bf
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -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)