Skip to content

Commit

Permalink
fix img2img api that i broke when implementing infotext support
Browse files Browse the repository at this point in the history
  • Loading branch information
AUTOMATIC1111 committed Dec 30, 2023
1 parent 31992ef commit 05230c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/api/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,6 +507,7 @@ def img2imgapi(self, img2imgreq: models.StableDiffusionImg2ImgProcessingAPI):
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)

Expand Down

0 comments on commit 05230c0

Please sign in to comment.