60 Commits

Author SHA1 Message Date
Zyin055
aa58d6579a final touches
component_labels data structure change
code cleanup
2022-12-21 16:52:30 -06:00
Zyin055
c84d4b61a0 img2img tab support
and code cleanup
2022-12-20 22:05:47 -06:00
Zyin055
6d6c466071 Added save/delete functionality in the UI for config presets
New buttons: Add/Remove..., 🗑️, Create, Open..., Cancel
New textbox: New preset name
2022-12-20 21:16:12 -06:00
Zyin055
24639a5c7c Create config.json on first load
added to .gitignore so that user changes won't be overwritten when updating
2022-12-19 11:41:39 -06:00
Zyin055
24801fc3f1 use / instead of \ for config file path
#7 \ may not work in linux
2022-12-15 10:35:14 -06:00
Zyin055
1992e1eed7 Added Firstpass width/height
firstphase_width and firstphase_height are now recognized values in config.json
2022-12-13 13:26:05 -06:00
Zyin055
30f96f8c52 edited gerschel's pr
basedir() needs to be called in the global space to get the full path.
AVAILABLE_COMPONENTS doesn't need to be global anymore.
don't use exception handling as logic for component_map[], bad practice.
formatting tweaks.
2022-12-13 12:53:57 -06:00
Gerschel
624f16e8d1 Fixed missing back slash, brought others to parity 2022-12-13 03:31:01 -08:00
Gerschel
318de88d00 Refactor, made it work with img2img
Removed ast and replaced with json,
ast uses eval, not safe

Used a dictionary as a map and a Constant
as a settings area
2022-12-13 03:01:23 -08:00
Zyin055
8c90a927c0 Initial commit 2022-12-13 01:04:06 -06:00