mirror of
https://github.com/Bing-su/adetailer.git
synced 2026-01-26 19:29:54 +00:00
fix: #569 no deepcopy
This commit is contained in:
@@ -6,7 +6,7 @@ import re
|
||||
import sys
|
||||
import traceback
|
||||
from contextlib import contextmanager, suppress
|
||||
from copy import copy, deepcopy
|
||||
from copy import copy
|
||||
from functools import partial
|
||||
from pathlib import Path
|
||||
from textwrap import dedent
|
||||
@@ -523,7 +523,7 @@ class AfterDetailerScript(scripts.Script):
|
||||
height=height,
|
||||
restore_faces=args.ad_restore_face,
|
||||
tiling=p.tiling,
|
||||
extra_generation_params=p.extra_generation_params,
|
||||
extra_generation_params=p.extra_generation_params.copy(),
|
||||
do_not_save_samples=True,
|
||||
do_not_save_grid=True,
|
||||
override_settings=override_settings,
|
||||
@@ -781,8 +781,6 @@ class AfterDetailerScript(scripts.Script):
|
||||
p2.seed = self.get_each_tap_seed(seed, j)
|
||||
p2.subseed = self.get_each_tap_seed(subseed, j)
|
||||
|
||||
p2.extra_generation_params = deepcopy(p2.extra_generation_params)
|
||||
|
||||
try:
|
||||
processed = process_images(p2)
|
||||
except NansException as e:
|
||||
|
||||
Reference in New Issue
Block a user