Manuel Schmid
fa74a0c7fe
feat: add performance hyper-sd based on 4step LoRA
2024-04-26 22:22:09 +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
Manuel Schmid
7b9deb17ee
feat: add config metadata_created_by
2024-01-15 23:06:20 +01:00
Manuel Schmid
6662381931
fix: code cleanup and resolved prompt fixes
2024-01-15 23:00:59 +01:00
Manuel Schmid
1a52367f3f
feat: use resolved prompts with included expansion and styles for a1111 metadata
2024-01-15 22:17:51 +01:00
Manuel Schmid
f7489cc9ef
feat: add model hash support for a1111
2024-01-15 22:11:46 +01:00
Manuel Schmid
191f8148e4
feat: add support for A1111 metadata schema
...
https://github.com/AUTOMATIC1111/stable-diffusion-webui/blob/cf2772fab0af5573da775e7437e6acdca424f26e/modules/processing.py#L672
2024-01-15 21:16:52 +01:00
Manuel Schmid
493e484122
feat: add argument disable_metadata
2024-01-15 19:11:40 +01:00
Manuel Schmid
8d56318bed
feat: add config and checkbox for save_metadata_to_images
2024-01-15 18:54:49 +01:00
Manuel Schmid
c5a15c7321
feat: add metadata logging for images
...
inspired by https://github.com/MoonRide303/Fooocus-MRE
2024-01-15 18:31:58 +01:00
Manuel Schmid
3e9d66c5f6
Merge branch 'feature/automatically-describe-uov-image'
...
# Conflicts:
# webui.py
2024-01-15 13:37:15 +01:00
Manuel Schmid
5c1d2e8172
feat: automatically describe image on uov image upload if prompt is empty
2024-01-15 13:25:51 +01:00
Manuel Schmid
f25bf49894
Merge branch 'jpg_config_image_extension'
...
# Conflicts:
# modules/config.py
# modules/flags.py
# webui.py
2024-01-14 23:40:24 +01:00
Manuel Schmid
5b633f6cf8
refactor: rename image_extension to image_file_extension
2024-01-14 23:38:36 +01:00
Manuel Schmid
b18ae4343d
Merge branch 'jpg_config_image_extension'
...
# Conflicts:
# modules/async_worker.py
# modules/config.py
# modules/flags.py
# webui.py
2024-01-14 23:22:03 +01:00
Manuel Schmid
2b802da365
feat: always show image_extension element
...
this is now possible due to image extension support in gradio via https://github.com/lllyasviel/Fooocus/pull/1932
2024-01-14 21:59:24 +01:00
Manuel Schmid
dc6c02540a
Merge branch 'feature/use-consistent-file-name-in-gradio' into jpg_config_image_extension
...
# Conflicts:
# modules/async_worker.py
# modules/private_logger.py
2024-01-14 21:47:05 +01:00
Manuel Schmid
eeb57f3ff5
chore: code cleanup, remove redundant if statement
2024-01-14 21:20:13 +01:00
Manuel Schmid
1779fa0f3a
feat: use args temp path if given
2024-01-14 21:19:01 +01:00
Manuel Schmid
161b988522
feat: delete temp images after yielding to gradio
2024-01-14 21:16:16 +01:00
Manuel Schmid
3c855bd331
feat: use consistent file name in gradio
...
returns and uses filepaths instead of numpy image by saving to temp dir
uses double the temp dir file storage on disk as it saves to temp dir and gradio temp dir when displaying the image, but reuses logged output image
2024-01-14 20:21:33 +01:00
Manuel Schmid
26f31ff2bd
feat: add webp to image_extensions
...
supported image extemsions: see https://pillow.readthedocs.io/en/stable/handbook/image-file-formats.html
2024-01-14 14:25:52 +01:00
Manuel Schmid
d79c1d5a27
refactor: change label
2024-01-14 14:25:01 +01:00
Manuel Schmid
694763447d
fix: add missing image_extension parameter to log call
2024-01-14 14:23:36 +01:00
Manuel Schmid
79b7eef5ee
fix: remove uppercase image names
2024-01-12 22:36:48 +01:00
Manuel Schmid
2e16b0faa4
Merge remote-tracking branch 'origin/hotfix/prevent-skipping-and-stopping-by-other-users'
...
# Conflicts:
# modules/async_worker.py
2024-01-05 22:59:09 +01:00
Manuel Schmid
b5bb4eb8b1
Merge branch 'feature/add-preset-selection'
...
# Conflicts:
# webui.py
2024-01-05 21:54:46 +01:00
Manuel Schmid
4900837786
feat: add argument --disable-preset-selection
...
useful for cloud provisioning to prevent model switches and keep models loaded
2024-01-05 21:53:06 +01:00
Manuel Schmid
7a01c8a5b2
Merge branch 'crohrer_main'
2024-01-05 20:18:19 +01:00
Manuel Schmid
f1e1257249
fix: implement correct path resolution for all OS
...
solves issues for Windows
2024-01-05 19:59:51 +01:00