Commit Graph
100 Commits
Author SHA1 Message Date
Manuel Schmid 4dd5cae53e release: bump version to 2.3.2 2024-05-09 19:25:21 +02:00
Manuel Schmid 1ecc07ff47 Merge commit '1a9faf4d1bed0af009b5b56810ce85b40ca72097' 2024-05-09 19:21:08 +02:00
Manuel Schmid 8b75efd318 Merge remote-tracking branch 'upstream/develop'
# Conflicts:
#	modules/async_worker.py
2024-05-09 19:17:46 +02:00
Manuel Schmid d7dfd6cdf2 Merge commit '3b27a11a90611cc4c1f4a1d24036d127be3ce770'
# Conflicts:
#	language/en.json
#	webui.py
2024-05-09 19:15:34 +02:00
Manuel Schmid 3b27a11a90 refactor: rename button label to "Reconnect" 2024-05-09 19:09:14 +02:00
Manuel Schmid 33458af5fb Merge branch 'feature/update-anime-preset' 2024-05-05 02:05:27 +02:00
Manuel Schmid 11129838cc feat: reduce cfg as suggested by vendor from 3.0.0
https://civitai.com/models/261336?modelVersionId=435001
"recommend to decrease CFG scale." + all examples are in CFG 6
2024-05-05 02:05:19 +02:00
Manuel Schmid 544054e2b6 Merge branch 'feature/update-anime-preset'
# Conflicts:
#	presets/anime.json
2024-05-05 01:38:42 +02:00
Manuel Schmid a0418a5648 feat: update animaPencilXL from 2.6.0 to 3.1.0 2024-05-05 01:16:59 +02:00
Manuel Schmid a6207a949a Merge branch 'feature/add-vae-select' 2024-05-05 01:07:39 +02:00
Manuel Schmid b0d3a3abb0 Merge branch 'feature/add-random-style'
# Conflicts:
#	modules/async_worker.py
2024-05-05 01:07:34 +02:00
Manuel Schmid 121f1e0a15 Merge branch 'main_upstream' into develop_upstream 2024-05-05 01:04:12 +02:00
Manuel Schmid ab76a26806 feat: add metadata handling 2024-05-05 00:33:24 +02:00
Manuel Schmid af33e930d3 refactor: code cleanup 2024-05-04 21:13:03 +02:00
Manuel Schmid 4a3aac09a3 fix: do not reload model when VAE stays the same 2024-05-04 21:12:25 +02:00
Manuel Schmid 15696da9b8 feat: use different default label, add translation 2024-05-04 20:37:30 +02:00
Manuel Schmid 8e6299b898 feat: add VAE select 2024-05-04 20:36:47 +02:00
Manuel Schmid 5b2d046b12 Merge branch 'main_upstream' into develop_upstream 2024-05-02 23:58:43 +02:00
Manuel Schmid c64c7c3b91 feat: add preview image for random style 2024-05-02 22:39:41 +02:00
Manuel Schmid 3027fafee3 feat: rename random to random style, add translation 2024-05-02 22:32:18 +02:00
Manuel Schmid 0db3c10c60 feat: add random style 2024-05-02 22:20:18 +02:00
Manuel Schmid 1a9faf4d1b feat: change ByteDance huggingface profile with mashb1t 2024-05-02 21:19:22 +02:00
Manuel Schmid 66c6b7af48 Merge branch 'main_upstream' 2024-05-01 14:16:48 +02:00
Manuel Schmid 5bcb56a35c fix: use LF as line breaks for entrypoint.sh
adjusted for Linux again, see https://github.com/lllyasviel/Fooocus/discussions/2836
2024-05-01 14:07:49 +02:00
Manuel Schmid fa74a0c7fe feat: add performance hyper-sd based on 4step LoRA 2024-04-26 22:22:09 +02:00
Manuel Schmid 42e301af6d qa: add missing semicolon 2024-04-07 18:30:49 +02:00
Manuel Schmid ef0a1c95ad feat: add button to reconnect UI without having to reload the page 2024-04-07 18:21:38 +02:00
Manuel Schmid fb7c607228 Merge branch 'main_upstream' into feature/update-anime-preset 2024-04-07 16:02:55 +02:00
Manuel Schmid fdf5bab468 feat: update animaPencilXL from 2.0.0 to 2.6.0 2024-04-07 16:02:43 +02:00
Manuel Schmid 2e43c86680 feat: update url for anime model 2024-04-07 16:01:19 +02:00
Manuel Schmid 23aef8f80c feat: update animaPencilXL from 2.0.0 to 2.6.0 2024-04-07 15:54:10 +02:00
Manuel Schmid b4a257bd03 fix: correctly set preset config and loras in meta parser 2024-03-20 22:09:32 +01:00
Manuel Schmid 978267f461 fix: correctly set preset config and loras in meta parser 2024-03-20 21:16:03 +01:00
Manuel Schmid 16c7d343e9 Merge branch 'main_upstream'
# Conflicts:
#	modules/config.py
2024-03-19 23:30:14 +01:00
Manuel Schmid 856eb750ab fix: add enabled value to LoRA when setting default_max_lora_number 2024-03-19 23:08:38 +01:00
Manuel Schmid 5bf96018fe Merge branch 'main_upstream' into develop 2024-03-17 14:13:37 +01:00
Manuel Schmid 86cba3f223 feat: add translation for unsupported image error (#2537) 2024-03-15 23:11:26 +01:00
Manuel Schmid 8baafcd79c Merge branch 'main_upstream' into develop 2024-03-15 20:52:06 +01:00
Manuel Schmid 4363dbc303 fix: revert testing change to default lora activation 2024-03-13 00:32:54 +01:00
Manuel Schmid f7f0b51bab Merge branch 'main_upstream' into develop 2024-03-13 00:31:41 +01:00
Manuel Schmid 57a01865b9 refactor: only use LoRA activate on handover to async worker, extract method 2024-03-11 23:49:45 +01:00
Manuel Schmid bb7156ff55 Merge branch 'main_upstream'
# Conflicts:
#	fooocus_version.py
#	modules/async_worker.py
2024-03-04 11:49:51 +01:00
Manuel Schmid ee96b854d9 docs: update version and changelog 2024-03-04 11:33:49 +01:00
Manuel Schmid 5c1886b9bd Merge branch 'feature/add-metadata-hint-to-history-log' 2024-03-03 15:26:37 +01:00
Manuel Schmid 7651c13b37 feat: add actual metadata_scheme to log instead of only boolean 2024-03-03 15:26:21 +01:00
Manuel Schmid 8e999764a8 Merge branch 'feature/add-inpaint-mask-generation'
# Conflicts:
#	language/en.json
#	modules/config.py
2024-03-03 15:14:20 +01:00
Manuel Schmid bf63506e89 fix: merge full array shapes, not only single channel of mask 2024-03-03 15:02:03 +01:00
Manuel Schmid 1a82c5559c Merge branch 'feature/add-inpaint-mask-generation' of https://github.com/mashb1t/Fooocus into feature/add-inpaint-mask-generation
# Conflicts:
#	language/en.json
#	launch.py
2024-03-03 14:56:19 +01:00
Manuel Schmid 83c24ff2e5 feat: add inpaint functionality for mask upload
allows to quickly adjust the mask after automated generation
2024-03-03 14:50:07 +01:00
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 57c9c5a95e Merge branch 'feature/add-metadata-hint-to-history-log' 2024-03-03 13:25:23 +01:00
Manuel Schmid 7ef65ca94c feat: add metadata hint to history log 2024-03-03 13:12:04 +01:00
Manuel Schmid ff051c1e8d docs: update readme 2024-03-03 01:27:00 +01:00
Manuel Schmid ac841f1f4c Merge branch 'feature/add-performance-sdxl-lightning'
# Conflicts:
#	modules/async_worker.py
2024-03-03 01:26:44 +01:00
Manuel Schmid 0768357136 Merge branch 'main_upstream'
# Conflicts:
#	modules/async_worker.py
2024-03-03 00:46:54 +01:00
Manuel Schmid 0f6e912fde feat: add performance sdxl lightning
based on https://huggingface.co/ByteDance/SDXL-Lightning/blob/main/sdxl_lightning_4step_lora.safetensors
2024-03-03 00:40:02 +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 acae289dc6 fix: allow path_outputs to be outside of root dir
allows Gradio to serve outputs when folder has been changed in the config
2024-02-22 23:06:42 +01:00
Manuel Schmid 741a693083 feat: add ByteDance lightning preset, code cleanup 2024-02-22 23:02:58 +01:00
Manuel Schmid 5e3816a8b3 fix: add nsfw filter support again
accidentally deleted when merging
2024-02-19 23:12:33 +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 17285c63e5 Merge branch 'feature/add-preset-selection'
# Conflicts:
#	launch.py
#	webui.py
2024-02-19 00:10:42 +01:00
Manuel Schmid 6d9e0e6f95 feat: keep prompt when not set in preset, use more robust syntax 2024-02-19 00:06:39 +01:00
Manuel Schmid 78e75fd040 fix: use base_model and not fallback key as value for default_model
now correctly loads fallback models
2024-02-18 23:10:02 +01:00
Manuel Schmid 82864301a6 Merge branch 'main_upstream' into feature/add-preset-selection
# Conflicts:
#	launch.py
#	modules/config.py
2024-02-18 23:07:49 +01:00
Manuel Schmid b281375ce2 feat: add exif data processing (saving and loading) 2024-02-04 23:29:48 +01:00
Manuel Schmid ceefba9b69 Merge branch 'feature/add-metadata-to-files'
# Conflicts:
#	language/en.json
#	modules/async_worker.py
#	modules/config.py
#	modules/flags.py
#	modules/meta_parser.py
#	modules/private_logger.py
#	modules/util.py
#	webui.py
2024-02-04 21:09:24 +01:00
Manuel Schmid 832441e86d chore: loosen strict type for parse_json, fix indent 2024-02-04 19:26:10 +01:00
Manuel Schmid c104d58f76 fix: parse adaptive_cfg as float instead of string 2024-02-04 19:25:20 +01:00
Manuel Schmid dfb48fd754 feat: add better handling for image import with empty metadata 2024-02-04 19:24:45 +01:00
Manuel Schmid 6a914ad962 Merge remote-tracking branch 'origin/feature/add-inpaint-mask-generation' 2024-02-04 14:30:41 +01:00
Manuel Schmid 6dadc3314d Merge remote-tracking branch 'upstream/main'
# Conflicts:
#	modules/config.py
2024-02-04 14:29:54 +01:00
Manuel Schmid 59dd1c2d12 Merge remote-tracking branch 'upstream/main' into feature/add-metadata-to-files 2024-02-04 13:55:00 +01:00
Manuel Schmid fe33cc7114 feat: add mapping for _gpu samplers to cpu samplers
gpu samplers are less deterministic than cpu but in general similar, see https://www.reddit.com/r/comfyui/comments/15hayzo/comment/juqcpep/
2024-02-04 13:54:38 +01:00
Manuel Schmid 9685a90090 Merge branch 'feature/add-inpaint-mask-generation' 2024-01-27 21:48:41 +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 051faf78b8 fix: use correct default value in metadata check for created_by 2024-01-25 23:49:25 +01:00
Manuel Schmid 20b79788a0 feat: add resolved prompts to metadata 2024-01-25 23:48:47 +01:00
Manuel Schmid 510b587e84 fix: use pnginfo "parameters" insteadf of "Comments"
see https://github.com/RupertAvery/DiffusionToolkit/issues/202 and https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/cf2772fab0af5573da775e7437e6acdca424f26e/modules/processing.py#L939
2024-01-25 21:08:19 +01:00
Manuel Schmid 3812228758 Merge branch 'main_upstream' into feature/add-metadata-to-files 2024-01-25 21:01:51 +01:00
Manuel Schmid e196a35ce2 Merge branch 'feature/add-inpaint-mask-generation'
# Conflicts:
#	modules/config.py
#	requirements_versions.txt
2024-01-24 02:46:09 +01:00
Manuel Schmid c4c3315cd6 feat: update Colab template parameters 2024-01-24 02:24:00 +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
Manuel Schmid 4912599f6e feat: update history link date after each generation
prevents outdated date in link after midnight
2024-01-19 01:00:28 +01:00
Manuel Schmid 72d1e48def Merge branch 'jpg_config_image_extension'
# Conflicts:
#	modules/async_worker.py
#	modules/flags.py
#	modules/private_logger.py
#	webui.py
2024-01-19 00:14:44 +01:00
Manuel Schmid 7e52a1de8f refactor: rename image_file_extension to output_format 2024-01-19 00:06:07 +01:00
Manuel Schmid 4c3a906fb7 Merge branch 'feature/add-nsfw-filter'
# Conflicts:
#	modules/advanced_parameters.py
#	requirements_versions.txt
2024-01-17 23:21:36 +01:00
Manuel Schmid 348e3758b7 Merge branch 'main_upstream' into feature/add-nsfw-filter
# Conflicts:
#	modules/advanced_parameters.py
2024-01-17 22:42:31 +01:00
Manuel Schmid a4bc5c7d63 fix: add missing diffusers package 2024-01-17 22:40:52 +01:00
Manuel Schmid f1261028b8 feat: use optimized jpg parameters when saving the image
quality=95
optimize=True
progressive=True
2024-01-16 01:01:51 +01:00
Manuel Schmid addd5ef3bd Merge branch 'feature/add-metadata-to-files'
# Conflicts:
#	args_manager.py
#	modules/async_worker.py
#	modules/config.py
#	modules/private_logger.py
#	modules/util.py
2024-01-16 00:50:46 +01:00
Manuel Schmid ba5d0b6eaf refactor: rename metadata_schema to metadata_scheme 2024-01-15 23:59:57 +01:00
Manuel Schmid 80ad0d070e fix: do not generate hashes when arg --disable-metadata is used 2024-01-15 23:58:34 +01:00
Manuel Schmid a2153dba7d fix: correctlyy hide/show metadata schema on app start 2024-01-15 23:20:43 +01:00
Manuel Schmid cd65f21d98 fix: use stting isntead of quote wrap for A1111 created_by 2024-01-15 23:14:49 +01:00