ArtVentureX / sd-webui-agent-scheduler

641 stars 68 forks source link

Warning: script ADetailer is not in script_runner.alwayson_scripts #91

Closed olaxe closed 1 year ago

olaxe commented 1 year ago

When I am using this payload: payload = { "prompt": 'a handsome woman', "negative_prompt": "", "batch_size": 1, "steps": 20, "cfg_scale": 7, "alwayson_scripts": { "ADetailer": { "args": [ { "ad_model": "face_yolov8n.pt", } ] } } } using agent-scheduler/v1/queue/txt2img, I receive Warning: script ADetailer is not in script_runner.alwayson_scripts and ADetailer didn't launched. Using sdapi/v1/txt2img, I receive ADetailer information in the output: ADetailer model: face_yolov8n.pt, ADetailer confidence: 0.3, ADetailer dilate/erode: 4, ADetailer mask blur: 4, ADetailer denoising strength: 0.4, ADetailer inpaint only masked: True, ADetailer inpaint padding: 32, ADetailer version: 23.7.10, Version: v1.5.1"

My extensions are not in the default folder, so I don't know if it can cause it.

olaxe commented 1 year ago

I see my mistake, I follow scrupulously the API ADetailer wiki and I see this case: 'ADetailer'. Now, I can work with the workaround case 'adetailer' until your fix is released. You make my day! Many thanks.