stable-diffusion-webui-forge icon indicating copy to clipboard operation
stable-diffusion-webui-forge copied to clipboard

TypeError: tuple indices must be integers or slices, not str

Open Melyns opened this issue 6 months ago • 4 comments

I keep getting this error message TypeError: tuple indices must be integers or slices, not str. I updated Forge yesterday after a month, & now im starting to see this error a lot. Happens with all upscalers i used, though im not sure what triggers it.

Total progress: 100%|██████████████████████████████████████████████████████████████████| 20/20 [01:12<00:00,  3.61s/it]
Traceback (most recent call last):█████████████████████████████████████████████████████| 20/20 [01:12<00:00,  2.66s/it]
  File "D:\AI\stable-diffusion-webui-forge\modules_forge\main_thread.py", line 30, in work
    self.result = self.func(*self.args, **self.kwargs)
  File "D:\AI\stable-diffusion-webui-forge\modules\txt2img.py", line 95, in txt2img_upscale_function
    fake_image.already_saved_as = image["name"].rsplit('?', 1)[0]
TypeError: tuple indices must be integers or slices, not str
tuple indices must be integers or slices, not str

Melyns avatar Aug 20 '24 23:08 Melyns