Commit Graph
10 Commits
Author SHA1 Message Date
Manuel Schmid 9b31ff4e7f Merge branch 'main_upstream' into feature/add-inpaint-mask-generation
# Conflicts:
#	launch.py
#	modules/config.py
#	modules/flags.py
2024-03-03 14:40:13 +01:00
Manuel Schmid 4f4d23f4e3 fix: use filename instead of download function call for lcm lora
do not require lcm lora to be downloaded for metadata parsing
2024-02-26 21:14:44 +01:00
Manuel Schmid 9c30961efd fix: add missing return statement in model_refresh_clicked 2024-02-26 21:12:27 +01:00
Manuel Schmid f8ca04a406 feat: add early return for prompt expansion when no new tokens should be added
closes https://github.com/lllyasviel/Fooocus/issues/2278, also removes comma at the end added before tokenizer
2024-02-19 15:22:10 +01:00
Manuel Schmid 62fe86f1e8 chore: always use cpu as default device
this is overridden anyways
2024-01-26 02:34:25 +01:00
Manuel Schmid 486c5b4fa5 Merge branch 'feature/add-inpaint-mask-generation-2' into feature/add-inpaint-mask-generation 2024-01-26 02:10:34 +01:00
Manuel Schmid 338004c2e5 feat: optimize gradio element visibility changes and data provisioning 2024-01-26 02:08:27 +01:00
Manuel Schmid d515d0f074 fix: remove unnecessary fp32 / fp16 handling 2024-01-26 02:06:17 +01:00
Manuel Schmid 90be73a6df feat: add model patching
automatically unload model when not needed anymore
2024-01-26 02:05:38 +01:00
Manuel Schmid db5512fb93 feat: add inpaint mask generation functionality
uses rembg, see https://github.com/danielgatis/rembg
2024-01-24 02:22:50 +01:00