yfszzx / stable-diffusion-webui-inspiration

114 stars 23 forks source link

Flavors with a backslash can't be generated #8

Open Mistborn-First-Era opened 1 year ago

Mistborn-First-Era commented 1 year ago

I might just be goofing somewhere but anytime I get to a flavor with a " / " in it my image generation crashes. Here is the error.

Error completing request[55:51,  5.15it/s]
Arguments: ('', '', 'None', 'None', 20, 0, False, False, 1, 1, 7, -1.0, -1.0, 0, 0, 0, False, 512, 512, False, 0.7, 0, 0, 4, 0.9, 5, '0.0001', False, 'None', '', 0.1, False, False, False, None, '', 1, '', 0, '', True, False, False, 1.0, 1.0, 'a painting in', 'style', 'picture frame, portrait photo', [<tempfile._TemporaryFileWrapper object at 0x0000016D0B4B9180>]) {}
Traceback (most recent call last):
  File "C:\Users\Name\stable-diffusion-webui\modules\ui.py", line 221, in f
    res = list(func(*args, **kwargs))
  File "C:\Users\Name\stable-diffusion-webui\webui.py", line 63, in f
    res = func(*args, **kwargs)
  File "C:\Users\Name\stable-diffusion-webui\modules\txt2img.py", line 45, in txt2img
    processed = modules.scripts.scripts_txt2img.run(p, *args)
  File "C:\Users\Name\stable-diffusion-webui\modules\scripts.py", line 286, in run
    processed = script.run(p, *script_args)
  File "C:\Users\Name\stable-diffusion-webui\extensions\stable-diffusion-webui-inspiration\scripts\inspiration.py", line 52, in run
    os.mkdir(artist_path)
FileNotFoundError: [WinError 3] The system cannot find the path specified: 'C:\\Users\\Name\\stable-diffusion-webui\\extensions\\stable-diffusion-webui-inspiration\\inspiration\\flavors\\f/1.4'

I am using the new v2 list as well if that matters.