parent
8bae347458
commit
d4e58f3e8f
|
|
@ -1,6 +1,6 @@
|
|||
[project]
|
||||
name = "dddetailer"
|
||||
version = "23.4.4"
|
||||
version = "23.4.5"
|
||||
description = "An object detection and auto-mask extension for Stable Diffusion web UI."
|
||||
authors = [
|
||||
{name = "dowon", email = "ks2515@naver.com"},
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ from modules import (
|
|||
scripts,
|
||||
shared,
|
||||
)
|
||||
from modules.paths import models_path
|
||||
from modules.paths import data_path, models_path
|
||||
from modules.processing import (
|
||||
Processed,
|
||||
StableDiffusionProcessingImg2Img,
|
||||
|
|
@ -748,6 +748,11 @@ class DetectionDetailerScript(scripts.Script):
|
|||
|
||||
state.job = f"Generation {n + 1} out of {state.job_count}"
|
||||
|
||||
if dd_prompt or dd_neg_prompt:
|
||||
params_txt = os.path.join(data_path, "params.txt")
|
||||
with open(params_txt, "w", encoding="utf-8") as file:
|
||||
file.write(infotexts[0])
|
||||
|
||||
return Processed(
|
||||
p,
|
||||
output_images,
|
||||
|
|
|
|||
Loading…
Reference in New Issue