Commit Graph

406 Commits

Author SHA1 Message Date
7040995ceb fixed variable name error 2022-08-26 14:25:49 +02:00
89805a5239 fixed mistake in comment 2022-08-26 13:25:12 +02:00
e00397f9ca refactored logfile handling; minimised time spent in context managers (with open) 2022-08-26 13:22:53 +02:00
12f59e1daa removed log.close(); 'with open' automatically closes the file 2022-08-26 13:12:56 +02:00
cf750f62db refactored infile handling 2022-08-26 13:10:37 +02:00
0f28663805 remove redundant None check (if var does the same thing) 2022-08-26 12:43:13 +02:00
eb9f0be91a Set default to none for gfpgan_strength 2022-08-26 03:53:55 -04:00
4f02b72c9c prettified all the code using "blue" at the urging of @tildebyte 2022-08-26 03:15:42 -04:00
dd670200bb documentation tweaks for installation and running of the GFPGAN extension; now you have the ability to specify the previous image's seed with -S -1, the one before that with -S -2, and so forth 2022-08-26 02:17:14 -04:00
8f89a2456a something is not quite right; when providing -G1 option on one prompt, and then omitting it on the next, I see a "images do not match" error from GFPGAN 2022-08-26 01:20:01 -04:00
470a62dbbe Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-gfpgan-option 2022-08-26 00:26:03 -04:00
cb86b9ae6e Remove the redundancy, better logging 2022-08-25 23:48:35 -04:00
3a30a8f2d2 Fix not being able to disable bgupscaler; update readme 2022-08-25 23:39:03 -04:00
60ed004328 Update readme, fix defaults for case-sensitive fs's 2022-08-25 23:31:08 -04:00
dbb9132f4d Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-gfpgan-option 2022-08-25 23:19:17 -04:00
5711b6d611 Add optional GFPGAN support 2022-08-25 22:57:30 -04:00
f1bed52530 moved dream utilities into their own subfolder 2022-08-25 22:49:15 -04:00
c38b6964b4 improved inline error messages slightly 2022-08-25 22:19:12 -04:00
b49475a54f Keep a log of requests for dream_web 2022-08-25 21:06:17 -04:00
19fa222810 refactoring complete; please test carefully! 2022-08-25 17:30:08 -04:00
b3e3b0e861 feature complete; looks like ready for merge 2022-08-25 17:26:48 -04:00
2114c386ad moved index.js .html and .css files into static/dream_web/; changed batch to iterations again 2022-08-25 15:27:43 -04:00
d04518e65e resolved conflicts in use of batch vs iterations 2022-08-25 15:14:38 -04:00
4ec21a5423 resolved conflicts 2022-08-25 15:09:55 -04:00
2ada3288e7 Small cleanups.
- Quenched tokenizer warnings during model initialization.
- Changed "batch" to "iterations" for generating multiple images in
  order to conserve vram.
- Updated README.
- Moved static folder from under scripts to top level. Can store other
  static content there in future.
- Added screenshot of web server in action (to static folder).
2022-08-25 15:03:40 -04:00
91966e9ffa Fix appearance on mobile 2022-08-25 15:01:08 -04:00
2ad73246f9 Normalize working directory 2022-08-25 14:27:33 -04:00
d3a802db69 Fix horizontal divider 2022-08-25 14:18:29 -04:00
b95908daec Move style and script to individual files 2022-08-25 14:15:08 -04:00
79add5f0b6 Merge branch 'main' of https://github.com/TesseractCat/stable-diffusion into TesseractCat-main 2022-08-25 13:52:44 -04:00
39b55ae016 Remove accelerate library
This library is not required to use k-diffusion
Make k-diffusion wrapper closer to the other samplers
2022-08-25 11:04:57 -06:00
72a9d75330 404 on missing file 2022-08-25 01:25:22 -04:00
0b4459b707 mostly back to full functionality; just missing grid generation code 2022-08-25 00:42:37 -04:00
ab131cb55e Add img2img support, fix naming conventions 2022-08-24 23:03:02 -04:00
269fcf92d9 Reapply prompt config on image click 2022-08-24 21:38:47 -04:00
b978536385 code is reorganized and mostly functional. Grid needs to be brought back online, as well as naming of img2img variants (currently the variants get written but not logged) 2022-08-24 19:47:59 -04:00
0a7fe6f2d9 Switch to ThreadingHTTPServer 2022-08-24 18:19:50 -04:00
b12955c963 remove unneeded imports from dream.py 2022-08-24 17:57:44 -04:00
9133087850 first draft at big refactoring; will be broken 2022-08-24 17:52:34 -04:00
df9f088eb4 Preserve prompt across generations 2022-08-24 17:28:59 -04:00
b1600d4ca3 Update seed on click 2022-08-24 17:26:22 -04:00
0efc3bf780 Add bare bones web UI 2022-08-24 17:04:30 -04:00
dd16fe16bb Fix issue where more than the expected number of variants are generated 2022-08-24 16:26:58 -04:00
1eec6b776b tweaked documentation and comments slightly 2022-08-24 15:25:52 -04:00
776c747978 added warning message when width/height specified along with init img 2022-08-24 14:04:27 -04:00
ee10021ea2 bikeshedding 2022-08-24 13:36:27 -04:00
ca82acfd3b Remove unnecessary print, small optmi 2022-08-24 13:33:19 -04:00
feea5fb063 Merge branch 'main' of https://github.com/BaristaLabs/stable-diffusion-dream into add-simple-variant-mechanism 2022-08-24 13:16:15 -04:00
b5cdbd3b0b Fixes issue with cuda/current mismatch 2022-08-24 13:14:08 -04:00
47a5da25b7 runtime errors now produce a stack trace 2022-08-24 12:57:04 -04:00