Spaces:
Build error
Build error
Update tools/Fooocus/modules/hack_async_worker_class.py
Browse files
tools/Fooocus/modules/hack_async_worker_class.py
CHANGED
@@ -903,6 +903,9 @@ class Hack_worker():
|
|
903 |
self.progressbar(async_task, current_progress, 'Checking for NSFW content ...')
|
904 |
imgs = default_censor(imgs)
|
905 |
outputs.append(imgs[0])
|
|
|
|
|
|
|
906 |
# except ldm_patched.modules.model_management.InterruptProcessingException as e:
|
907 |
# if async_task.last_stop == 'skip':
|
908 |
# print('User skipped')
|
|
|
903 |
self.progressbar(async_task, current_progress, 'Checking for NSFW content ...')
|
904 |
imgs = default_censor(imgs)
|
905 |
outputs.append(imgs[0])
|
906 |
+
|
907 |
+
except TypeError as e:
|
908 |
+
continue
|
909 |
# except ldm_patched.modules.model_management.InterruptProcessingException as e:
|
910 |
# if async_task.last_stop == 'skip':
|
911 |
# print('User skipped')
|