aboutsummaryrefslogtreecommitdiff
path: root/modules/shared_state.py
diff options
context:
space:
mode:
authorAUTOMATIC1111 <16777216c@gmail.com>2023-08-22 10:41:10 +0300
committerAUTOMATIC1111 <16777216c@gmail.com>2023-08-22 10:41:10 +0300
commita459075d26eecc38d6d58116e38f453450191460 (patch)
treebc5d6976a38bc0d912393cf01fd75078f24cdea2 /modules/shared_state.py
parentd7c9c6142071359470347564913feb5b7a6c5c13 (diff)
actual solution to the uncommon hanging problem that is seemingly caused by multiple progress requests working on same tensor
Diffstat (limited to 'modules/shared_state.py')
-rw-r--r--modules/shared_state.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/shared_state.py b/modules/shared_state.py
index 3dc9c788..d272ee5b 100644
--- a/modules/shared_state.py
+++ b/modules/shared_state.py
@@ -128,7 +128,7 @@ class State:
devices.torch_gc()
def set_current_image(self):
- """sets self.current_image from self.current_latent if enough sampling steps have been made after the last call to this"""
+ """if enough sampling steps have been made after the last call to this, sets self.current_image from self.current_latent, and modifies self.id_live_preview accordingly"""
if not shared.parallel_processing_allowed:
return