tidied up scripts directory by moving the original CompViz scripts into a subfolder

This commit is contained in:
Lincoln Stein 2022-08-22 10:11:54 -04:00
parent 24b88c6fc5
commit 63989ce6ff
11 changed files with 5 additions and 0 deletions

View File

@ -86,6 +86,10 @@ completely). The default is 0.75, and ranges from 0.25-0.75 give interesting res
## Changes ## Changes
* v1.03 (22 August 2022)
* The original txt2img and img2img scripts from the CompViz repository have been moved into
a subfolder named "orig_scripts", to reduce confusion.
* v1.02 (21 August 2022) * v1.02 (21 August 2022)
* A copy of the prompt and all of its switches and options is now stored in the corresponding * A copy of the prompt and all of its switches and options is now stored in the corresponding
image in a tEXt metadata field named "Dream". You can read the prompt using scripts/images2prompt.py, image in a tEXt metadata field named "Dream". You can read the prompt using scripts/images2prompt.py,

1
scripts/images2prompt.py Normal file → Executable file
View File

@ -6,6 +6,7 @@ from PIL import Image,PngImagePlugin
if len(sys.argv) < 2: if len(sys.argv) < 2:
print("Usage: file2prompt.py <file1.png> <file2.png> <file3.png>...") print("Usage: file2prompt.py <file1.png> <file2.png> <file3.png>...")
print("This script opens up the indicated dream.py-generated PNG file(s) and prints out the prompt used to generate them.")
exit(-1) exit(-1)
filenames = sys.argv[1:] filenames = sys.argv[1:]

0
scripts/preload_models.py Normal file → Executable file
View File