mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
fix: use correct method call for interrupt_current_processing (#2506)
actually achieves the same result, stopping the task
This commit is contained in:
@@ -787,7 +787,7 @@ def worker():
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
if async_task.last_stop is not False:
|
if async_task.last_stop is not False:
|
||||||
ldm_patched.model_management.interrupt_current_processing()
|
ldm_patched.modules.model_management.interrupt_current_processing()
|
||||||
positive_cond, negative_cond = task['c'], task['uc']
|
positive_cond, negative_cond = task['c'], task['uc']
|
||||||
|
|
||||||
if 'cn' in goals:
|
if 'cn' in goals:
|
||||||
|
|||||||
Reference in New Issue
Block a user