Closed Kallamamran closed 2 years ago
This is the first time I have seen this behavior. Is this after a complete restart or just the gradio UI reset?
I get the same error after completely shutting browser and the environment.
I found this error in the startup:
File "C:\stable-diffusion-webui-master\scripts\outpaint_region.py", line 69
but that seems to only be about the. in the line. I took it out anyway and resaved and that error went away. But a new error came up:
File "C:\stable-diffusion-webui-master\scripts\outpaint_region.py", line 1 <!doctype html> ^ SyntaxError: invalid syntax
That one is hard explain as that's a v5 correct usage, but it could be throwing something off later in the script?
Please download the zip file and extract the script from there.
It seems like the downloaded File has markup Text that should not be in this file. " import math
import numpy as np import skimage " should be the first few lines of the script.
@cjay777xb This error was after a complete restart of both SD and the browser.
@TKoestlerx Aha... So that's what the error "regarding a not supported character ยท " starting up is from ๐๐ That should explain things I will try it by ZIP or otherwise just rename the ยท - thing in the py-script. Should work
Thank you both for replying!
This is what I meant
Changed the strange dot for a hyphen and now I get this instead:
Thats still the wrong File. The first few lines of the script need to look like this:
I think the browser has added the markup of that page into the downloaded script. Please try to download the zip file and use the script inside.
Aha ๐ "Save link as" did not work ๐ Copied the code to the file manually and now it works!!
Indeed.
I have also just tried this out. So if github still adds the whole page when downloading, it should not save it as .py... that's not a .py ;)
I have copied the script to scripts and restarted. It still doesn't show up in img2img-scripts-dropdown