aboutsummaryrefslogtreecommitdiff
path: root/modules/call_queue.py
diff options
context:
space:
mode:
authorAnthony Fu <anthonyfu117@hotmail.com>2023-10-16 14:12:18 +0800
committerAnthony Fu <anthonyfu117@hotmail.com>2023-10-16 14:12:18 +0800
commit8aa13d5dce2789a7d0bd802e6d62453b3c380496 (patch)
tree6515dee9cb709d716cf233452a481dfe6fca2d5d /modules/call_queue.py
parent861cbd56363ffa0df3351cf1162f507425a178cd (diff)
Interrupt after current generation
Diffstat (limited to 'modules/call_queue.py')
-rw-r--r--modules/call_queue.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/call_queue.py b/modules/call_queue.py
index ddf0d573..01c6d17f 100644
--- a/modules/call_queue.py
+++ b/modules/call_queue.py
@@ -78,6 +78,7 @@ def wrap_gradio_call(func, extra_outputs=None, add_stats=False):
shared.state.skipped = False
shared.state.interrupted = False
+ shared.state.interrupted_next = False
shared.state.job_count = 0
if not add_stats: