Commit Graph

218 Commits

Author SHA1 Message Date
Anthony Wu
ffaf562a8c fix type hint in test file 2024-10-26 10:29:33 -07:00
Anthony Wu
351cc8bbf1 support metadata files as CLI arg supplier 2024-10-20 09:18:49 -07:00
filipstrand
2ed0628e58 Light refactoring: Move latent creation to separate class 2024-10-20 11:49:43 +02:00
filipstrand
f08c667e1a Remove vae type alias from runtime_config.py 2024-10-20 11:05:45 +02:00
Filip Strand
429b580b04
Merge pull request #82 from anthonywu/fixes-for-image-to-image
tests and fixes for image to image
2024-10-20 11:01:42 +02:00
Anthony Wu
1160d4e8b2 controlnet files: revert the refactoring done in #77 2024-10-20 01:06:02 -07:00
Anthony Wu
6201a93d4a tests and fixes for image to image 2024-10-20 00:48:45 -07:00
Filip Strand
231b9885b8
Merge pull request #77 from anthonywu/image-to-image
`mflux-generate` – support image-to-image
2024-10-19 15:00:07 +02:00
Anthony Wu
f963b7a9b2 image to image implementation 2024-10-12 10:46:20 -07:00
Filip Strand
7a0c5f8fe5
Merge pull request #75 from anthonywu/argparser-refactor
argparser refactor
2024-10-12 14:41:17 +02:00
filipstrand
9c7e857082 Add type hinting to CommandLineParser 2024-10-12 14:35:11 +02:00
filipstrand
b16ad90d0a Update todo list 2024-10-12 13:13:58 +02:00
Anthony Wu
796e9e8305 refactor argparser 2024-10-11 15:03:52 -07:00
Filip Strand
514cc44897
Merge pull request #72 from anthonywu/intro-isort-linter
introduce ruff isort
2024-10-10 21:34:34 +02:00
filipstrand
48b2a0ceb5 Fix ensure-pre-commit step in Makefile 2024-10-10 21:09:55 +02:00
Anthony Wu
9b6cd01171 introduce ruff isort 2024-10-10 11:56:14 -07:00
Filip Strand
faaf905667
Merge pull request #71 from anthonywu/typos-check
introduce pre-commit typos check
2024-10-10 20:31:21 +02:00
filipstrand
f3d6fab927 Fix pyproject.toml 2024-10-10 07:58:25 +02:00
Filip Strand
bd0d0ccb0c
Merge pull request #70 from filipstrand/add-stepwise-handler
Add stepwise handler and tests
2024-10-10 07:47:44 +02:00
filipstrand
8ec5410a56 Mark stepwise feature as experimental for now 2024-10-10 07:43:19 +02:00
filipstrand
e8edac5287 Use pytest in the Makefile 2024-10-10 00:08:17 +02:00
filipstrand
78e2b726fb Make sure cleanup happens even if tests fail 2024-10-09 23:41:12 +02:00
Anthony Wu
19867d5bb7 introduce pre-commit typos check 2024-10-09 14:20:49 -07:00
filipstrand
a9461cacf0 Add image generation tests
rename
2024-10-09 22:45:05 +02:00
filipstrand
e908c1cede Add stepwise handler 2024-10-09 22:29:36 +02:00
Filip Strand
f4d0bc799d
Merge pull request #59 from anthonywu/stream-stitch-stepwise-images
option to save stepwise and composite images, add interruptibility
2024-10-09 16:44:35 +02:00
Anthony Wu
5de208d1ba PR review 2024-10-06 14:59:15 -10:00
filipstrand
8519c82304 Include --upgrade flag for default uv command 2024-09-24 17:43:42 +02:00
filipstrand
85f4df49e7 v.0.3.0 2024-09-24 08:26:01 +02:00
Filip Strand
c3aafc88d3
Merge pull request #65 from filipstrand/add-license
Add MIT License
2024-09-24 08:09:51 +02:00
Anthony Wu
fcc9b21d19 option to save stepwise and composite images, add interruptibility 2024-09-23 15:20:25 -07:00
filipstrand
8bcf0d7602 Add license metadata to pyproject.toml 2024-09-23 23:55:37 +02:00
filipstrand
59aafae7a1 Update README with MIT License information 2024-09-23 23:55:37 +02:00
filipstrand
2619fc8fc2 Add MIT License 2024-09-23 23:46:57 +02:00
Filip Strand
c05329e73b
Merge pull request #63 from filipstrand/controlnet-additions
Controlnet additions
2024-09-23 20:27:23 +02:00
filipstrand
a942ca8d67 Rename controlnet path arg 2024-09-23 20:22:47 +02:00
filipstrand
ec8b42e521 Rename save arg 2024-09-23 20:22:30 +02:00
filipstrand
ebff19b48a Use None instead of empty string for image metadata 2024-09-23 20:13:35 +02:00
filipstrand
895754df51 Fix broken links with emojis 2024-09-23 20:13:35 +02:00
filipstrand
dfdd543227 Add controlnet example 2024-09-23 20:13:35 +02:00
filipstrand
91b0c466fb Avoid circular dep. issue (maybe better way to do this) 2024-09-23 20:13:35 +02:00
filipstrand
15ecaa7370 Rename util method 'save' to 'save_image' 2024-09-23 20:13:35 +02:00
filipstrand
3af6bcbfe1 Add ability to save the canny controlnet image early on in the generation
(useful for inspecting if edge detection is as expected)
2024-09-23 20:13:35 +02:00
filipstrand
7b4aab9c1b Move actual image saving logic to ImageUtil 2024-09-23 20:13:35 +02:00
filipstrand
d799a924c4 Light refactor of controlnet class 2024-09-23 20:13:35 +02:00
filipstrand
5737b27164 Save controlnet_image and mflux version in metadata 2024-09-23 20:13:35 +02:00
filipstrand
cda698df8d Move controlnet specific weight handling to separate class 2024-09-23 20:13:35 +02:00
filipstrand
8678102321 Fix controlnet input arg name and group controlnet arguments 2024-09-23 19:18:11 +02:00
filipstrand
56f0c8361d Add TOC and some emojis for the README and new controlnet section 2024-09-23 19:18:11 +02:00
Filip Strand
6c385af53b
Merge pull request #62 from filipstrand/add-ability-to-save-model-with-applied-lora
Add ability to save model with applied LoRA
2024-09-22 11:39:21 +02:00