Commit Graph

489 Commits

Author SHA1 Message Date
Manuel Schmid 829a6dc046
feat: add checkbox, config and handling for saving only the final enhanced image (#61) 2024-07-23 18:12:54 +02:00
Manuel Schmid ac836c3978
fix: use type pil for image upload to prevent conversion to png through temp file 2024-07-17 23:17:07 +02:00
Manuel Schmid 6377339eea
Revert "fix: change metadata input from image to file"
This reverts commit 56bea579cc.
2024-07-17 23:08:00 +02:00
Manuel Schmid 56bea579cc
fix: change metadata input from image to file
allow metadata reading from jpeg and webp again
see https://github.com/mashb1t/Fooocus/discussions/56#discussioncomment-10077227
2024-07-17 22:58:16 +02:00
Manuel Schmid 88c5088759
Merge branch 'develop_upstream' into develop
# Conflicts:
#	fooocus_colab.ipynb
#	fooocus_version.py
#	language/en.json
#	modules/async_worker.py
#	requirements_versions.txt
#	update_log.md
#	webui.py
2024-07-16 19:34:53 +02:00
Manuel Schmid e0d3325894
i18n: rename document to documentation 2024-07-14 21:40:10 +02:00
Manuel Schmid 5a1003a726
docs: update link for enhance documentation 2024-07-14 21:31:59 +02:00
Manuel Schmid ee02643020
feat: revert adding detailed steps for each performance 2024-07-14 21:06:59 +02:00
Manuel Schmid e1f4b65fc9
feat: revert adding translate feature 2024-07-14 20:35:39 +02:00
Manuel Schmid f2a21900c6
Sync branch 'mashb1t_main' with develop_upstream 2024-07-14 20:28:38 +02:00
Manuel Schmid 68a2a542e3
Merge branch 'feature/add-pony-support-and-preset' into develop
# Conflicts:
#	webui.py
2024-07-01 23:30:18 +02:00
Manuel Schmid 0c2d66e2e5
fix: do not update inpaint engine if inpaint mode is details 2024-07-01 23:26:30 +02:00
Manuel Schmid e75ef84378
Merge branch 'feature/add-pony-support-and-preset' into develop
# Conflicts:
#	webui.py
2024-07-01 23:10:37 +02:00
Manuel Schmid 33c22929e4
feat: add preset option for default_inpaint_engine_version, revert previous overwrite_step changes
add handling with state to allow overrides with inpaint_mode preset setting (currently disabled)
2024-07-01 22:08:52 +02:00
Manuel Schmid 9085935449
feat: add same functionality as inpaint image to mask upload element 2024-07-01 00:08:12 +02:00
Manuel Schmid 7068250a99
feat: reload all inpaint modes in enhance tabs when preset is changed and inpaint_mode is set 2024-06-30 20:52:57 +02:00
Manuel Schmid dbbe42ed30
Merge branch 'feature/add-pony-support-and-preset' into develop
# Conflicts:
#	webui.py
2024-06-30 20:51:39 +02:00
Manuel Schmid 333cc6db50
feat: add config default_inpaint_method, reload on start and preset change 2024-06-30 20:19:18 +02:00
Manuel Schmid 37fe0465b7
Merge branch 'feature/add-pony-support-and-preset' into develop
# Conflicts:
#	launch.py
2024-06-30 19:34:56 +02:00
Manuel Schmid bbf90a97b7
feat: add pony preset and vae downloads
uses default SDXL VAE, but the model doesn't include it
2024-06-30 15:44:35 +02:00
Manuel Schmid 49275c0ba1
refactor: rename checkbox "enable mask upload" to "enable advanced masking features" 2024-06-26 21:20:40 +02:00
Manuel Schmid b3a4b4e532
fix: add missing handling for cloth category for u2net_cloth_seg 2024-06-26 20:21:25 +02:00
Manuel Schmid 6f4d73b349
refactor: code cleanup 2024-06-25 22:06:07 +02:00
Manuel Schmid 46b0c57670
feat: rename enhance input label and info text 2024-06-25 22:03:08 +02:00
Manuel Schmid 84f5f0e134
feat: move enable mask upload and invert mask checkbox to inpaint or outpaint 2024-06-25 21:50:49 +02:00
Manuel Schmid a245b67531
feat: add config for enhance upv checkbox and method, prefix with default_ 2024-06-24 21:43:38 +02:00
Manuel Schmid 00a27e7400
feat: add config and option for uov prompt type 2024-06-24 21:21:11 +02:00
Manuel Schmid 1d0965f8c9
feat: rename enhance image input label, add link to documentation 2024-06-24 20:43:28 +02:00
Manuel Schmid fe1e4ce4e5
feat: bump version, add links to documentation 2024-06-23 18:53:42 +02:00
Manuel Schmid 1ef6367635
feat: add option to process uov either before or after enhance 2024-06-23 17:41:21 +02:00
Manuel Schmid bef53fcf6e
feat: automatically open tab enhance on enhance image upload 2024-06-22 00:30:47 +02:00
Manuel Schmid ec533f0c42
feat: rename arg --enable-describe-uov-image to --enable-auto-describe-image, add handling for enhance input image 2024-06-22 00:07:32 +02:00
Manuel Schmid 40e1c82b74
feat: add enhance image input
use this so you don't have to modify an image before enhancement
2024-06-21 23:51:00 +02:00
Manuel Schmid 5012fb7067
feat: display first enhance tab as #1 2024-06-20 02:20:49 +02:00
Manuel Schmid 4e575b9eb1
wip: add upscale or variation to enhance 2024-06-19 23:53:15 +02:00
Manuel Schmid 6e3919f854
fix: adjust default visibility for detection prompt dataset 2024-06-19 01:01:46 +02:00
Manuel Schmid 0d817cc0d0
feat: add placeholder for detection prompt text input elements 2024-06-19 01:00:11 +02:00
Manuel Schmid 22e1b08e4f
feat: add detection prompt dataset for quick selection 2024-06-19 00:58:55 +02:00
Manuel Schmid 2c721e06ff
feat: update performance hint for inpaint engine
inpaint engine model has only been trained for SDXL and no other performance LoRA, will produce bad results for inpaint larger areas
2024-06-19 00:02:29 +02:00
Manuel Schmid ff3dff8323
Revert "feat: add hint for performance when enhance inpaint engine is not none"
This reverts commit ed6c526986.
2024-06-18 23:52:13 +02:00
Manuel Schmid ed6c526986
feat: add hint for performance when enhance inpaint engine is not none 2024-06-18 23:51:36 +02:00
Manuel Schmid c0397bddbd
feat: enable edit attention with ctrl + arrow keys for enhance prompts 2024-06-18 22:39:09 +02:00
Manuel Schmid c0f7c3a8ee
feat: add erode or dilate and mask invert to enhance mask inpaint settings 2024-06-18 21:39:27 +02:00
Manuel Schmid 229ff81738
refactor: rename max_num_boxes to max_detections 2024-06-18 21:07:27 +02:00
Manuel Schmid 65cc25e5bf
feat: add debug setting for enhance mask output 2024-06-16 22:54:44 +02:00
Manuel Schmid 9c93c18d0b
fix: process other models than sam when using enhance 2024-06-16 21:05:10 +02:00
Manuel Schmid ff3418876d
feat: refresh the whole pipeline, allows usage of inpaint and enhancement prompts 2024-06-16 20:44:35 +02:00
Manuel Schmid bf6820812f
feat: only process enhance when checkbox is set
similar to input image
2024-06-16 18:39:40 +02:00
Manuel Schmid ef9fd293ff
wip: rename stage2 to enhance 2024-06-16 12:45:18 +02:00
Manuel Schmid a3dcd6e1fd
wip: add inputs for positive and negative prompt for stage2 2024-06-16 12:39:05 +02:00