diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-10-02 12:03:39 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-10-02 12:03:39 +0000 |
commit | 820f1dc96b1979d7e92170c161db281ee8bd988b (patch) | |
tree | c2b04366563537cddc4cdb2e65a94da2a8d90fc8 /modules/shared.py | |
parent | 84e97a98c5233119d0f444e0a3a0f6391da23677 (diff) | |
download | stable-diffusion-webui-gfx803-820f1dc96b1979d7e92170c161db281ee8bd988b.tar.gz stable-diffusion-webui-gfx803-820f1dc96b1979d7e92170c161db281ee8bd988b.tar.bz2 stable-diffusion-webui-gfx803-820f1dc96b1979d7e92170c161db281ee8bd988b.zip |
initial support for training textual inversion
Diffstat (limited to 'modules/shared.py')
-rw-r--r-- | modules/shared.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/shared.py b/modules/shared.py index ac968b2d..ac0bc480 100644 --- a/modules/shared.py +++ b/modules/shared.py @@ -78,6 +78,7 @@ class State: current_latent = None
current_image = None
current_image_sampling_step = 0
+ textinfo = None
def interrupt(self):
self.interrupted = True
@@ -88,7 +89,7 @@ class State: self.current_image_sampling_step = 0
def get_job_timestamp(self):
- return datetime.datetime.now().strftime("%Y%m%d%H%M%S")
+ return datetime.datetime.now().strftime("%Y%m%d%H%M%S") # shouldn't this return job_timestamp?
state = State()
|