fix img2img api that i broke when implementing infotext support

This commit is contained in:
AUTOMATIC1111 2023-12-30 18:02:51 +03:00
parent 31992eff9b
commit 05230c0260

View File

@ -507,6 +507,7 @@ class Api:
args.pop('script_name', None)
args.pop('script_args', None) # will refeed them to the pipeline directly after initializing them
args.pop('alwayson_scripts', None)
args.pop('infotext', None)
script_args = self.init_script_args(img2imgreq, self.default_script_arg_img2img, selectable_scripts, selectable_script_idx, script_runner, input_script_args=infotext_script_args)