Commit Graph

501 Commits

Author SHA1 Message Date
lllyasviel 69ad1b3c24 advanced preset load
new model list

i

new candidates

add model fallback

allow disable preset download

Update anime.json

Update anime.json

Update config.py

Update anime.json

Update readme.md

Update default.json
2024-01-27 08:06:31 -08:00
Hunter-Houts ff2187efed Upgrade requirements_met function (#1955)
* Upgrade requirements_met function

* Removed extra import

* Using Requirements instead of Regex
2024-01-27 05:12:34 -08:00
rayleichenxi 80068a0cd7 [enhance]: use opencv to rewrite morphological_open(), achieve a 40x speed increase in morphological_open opporation, for inpanting images size smaller than 3k (#2016)
Co-authored-by: 雷晨曦 <leichenxi@qiyi.com>
2024-01-27 05:12:34 -08:00
Chris Rohrer f298ebca76
feat: adds preview overlay for styles (#1762)
* feat: adds preview overlay for styles

* fix: implement correct path resolution for all OS

solves issues for Windows

* fix: makes preview overlay also work with other languages

* feat: scale down images to 258x200, fix aspect ratio in css

reduces file size from 19,6MB to 3,4MB

* fix: adjust z-index to correctly overlay gradio border pulse when generating images

* update files

* version

---------

Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
Co-authored-by: lllyasviel <lyuminzhang@outlook.com>
2024-01-07 15:10:42 -08:00
lllyasviel e5af760db8 mask upload 2024-01-02 08:21:50 -08:00
xhoxye b5163e057f
Fooocus mask enhance, mask upload and invert.蒙版增强功能,上传蒙版、反转手涂蒙版 (#1645)
* Update webui.py

Added a mask upload interface.添加蒙版上传界面。

* Add mask upload feature

Add mask upload feature.添加蒙版上传功能。

* Add mask upload feature

Add mask upload feature.添加蒙版上传功能。

* Try to fix the problem when drawing mates with external enrichment.

Swap the judgment criteria and try to fix the problem when drawing mates with external enrichment.
调换判断条件,尝试修复和外部扩充绘制配合时出现的问题

* 修改注释

* 修改注释

* Update readme.md

更新日志

* Add mask upload check box,

Add check box, default does not show mask upload box, check it and then show it.
添加复选框,默认不显示蒙版上传框,勾选后再显示。

* back to normal

还原

* Try adding a mask inversion feature

Try adding a mask inversion feature.
尝试添加蒙版反转功能。
增加一个复选框来决定是否将蒙版反转。

* Try adding a mask inversion feature

Try adding a mask inversion feature.
尝试添加蒙版反转功能。
增加一个复选框来决定是否将蒙版反转。

* Fixed word errors

* Fix the words of the description
2024-01-02 07:17:02 -08:00
lllyasviel 8e62a72a63
(requested) support AMD 8GB GPUs via Windows DirectML
this update is requested by users
2023-12-30 06:30:59 -08:00
lllyasviel 2f6ebbf876 some fix for previous PRs 2023-12-28 08:07:43 -08:00
御坂IO ad158450e3
fix to_clipboard from non-localhost access (#1576)
tested on edge(windows&android)
2023-12-28 07:54:59 -08:00
Manuel Schmid 48b1324a26
add default_max_image_number to config, use as maximum in default_image_number (#1616) 2023-12-28 07:48:30 -08:00
lllyasviel 7b5bced6c2
small url fix (#1551) 2023-12-22 00:20:09 -08:00
lllyasviel 81107298a8
minor fix (#1532) 2023-12-20 19:58:53 -08:00
lllyasviel f7bb578a14
2.1.854
* Add a button to copy parameters to clipboard in log.
* Allow users to load parameters directly by pasting parameters to prompt.
2023-12-20 19:52:38 -08:00
lllyasviel f308489440
Add Marc K3nt3L's styles
Thanks Marc K3nt3L !
2023-12-18 19:01:52 -08:00
Huy Nguyen 7a6b46f363
New Log System 2023-12-17 20:20:02 -08:00
lllyasviel 0e1aa8d084
better caster (#1480)
related to mps/rocm/cpu casting for fp16 and etc on clip
2023-12-17 17:09:15 -08:00
lllyasviel 1669370d2e
Refactor CLIP Vision 2023-12-17 00:13:51 -08:00
lllyasviel 67808d5ee5
fix all precision issues
We fixed number precision issues again. Now 2.1.849 will give 100% exactly same results as 2.1.824.
2023-12-16 19:54:05 -08:00
lllyasviel efb312d495
fix autocast (#1459) 2023-12-16 17:16:24 -08:00
lllyasviel 085bc3aeaa
revise caster 2023-12-16 16:58:46 -08:00
lllyasviel ec5dd950a2
Fix many precision problems
Many users reported that image quality is different from 2.1.824. We reviewed all codes and fixed several precision problems in 2.1.846.
2023-12-16 15:55:53 -08:00
lllyasviel 179bcb2c4e
Fix inpaint device problem in `--always-gpu` mode. (#1420)
2.1.841
2023-12-14 19:15:16 -08:00
lllyasviel 323af5667a
2.1.840
* Fix some potential frozen after model mismatch
* Fix crash when cfg=1 when using anime preset
* Added some guidelines for troubleshoot the "CUDA kernel errors asynchronously" problem
2023-12-14 13:55:49 -08:00
lllyasviel 5b99e3a1e4
2.1.839 2023-12-13 21:14:50 -08:00
lllyasviel df615d3781 fix some precision problems 2023-12-13 13:05:33 -08:00
lllyasviel f8e651a483 [2.1.831] Fooocus Describe 2023-12-12 19:34:18 -08:00
lllyasviel 9c3fb90df3 try fix cpu tree 2023-12-12 14:14:30 -08:00
lllyasviel 47441736ae maintain 2023-12-12 13:44:16 -08:00
AlexL 9cd3c06c6f
Make a simple table in html log output (#1286) 2023-12-12 13:33:28 -08:00
lllyasviel e8d88d3e25 2.1.826 2023-12-12 11:38:05 -08:00
oivasenk ec57c1fde0
Update private_logger.py (#1025)
Minor optimization of logs. Added lazy loading of images.
2023-11-24 01:31:20 -08:00
lllyasviel 3bc9ac88fd maintain 2023-11-23 13:46:50 -08:00
lllyasviel bd4d40203c ling 2023-11-21 10:16:45 -08:00
lllyasviel 8f98e96d73 maintain
Fix some potential problem when LoRAs has clip keys and user want to load those LoRAs to refiners.
2023-11-21 10:04:53 -08:00
lllyasviel dececbd060
[2.1.822] New Inpaint System
See related documents for more details.
2023-11-19 17:37:22 -08:00
lllyasviel 675805960a
2.1.821
* New UI for LoRAs.
* Improved preset system: normalized preset keys and file names.
* Improved session system: now multiple users can use one Fooocus at the same time without seeing others' results.
* Improved some computation related to model precision.
* Improved config loading system with user-friendly prints.
2023-11-17 11:25:39 -08:00
lllyasviel 3b97e49dd8 --disable-image-log 2023-11-15 13:23:27 -08:00
lllyasviel 943098f8da Allow disabling preview in dev tools. 2023-11-15 11:23:43 -08:00
lllyasviel cf2c89c288 Fix bug when the weight is exactly one. 2023-11-15 10:07:15 -08:00
lllyasviel 166bb98333 add some unused presets 2023-11-15 08:40:06 -08:00
lllyasviel ab528b78cf --theme 2023-11-15 08:22:24 -08:00
lllyasviel eae0b71ff9 Update config.py 2023-11-15 02:45:56 -08:00
lllyasviel 3a9c3c07d1 multiple loras in preset 2023-11-15 02:41:49 -08:00
lllyasviel a662567f6c fix #936 2023-11-15 02:25:49 -08:00
lllyasviel 8c49bb1cba Add previously removed preset 2023-11-15 02:19:20 -08:00
lllyasviel 8f23e2e969 Allow preset to set default inpaint engine. 2023-11-15 01:55:02 -08:00
lllyasviel cbe66fd5e0 2.1.812 2023-11-15 01:49:01 -08:00
lllyasviel a9bd188555 github bot update + heunpp2 2023-11-15 01:36:14 -08:00
lllyasviel 861c8d38df 810 2023-11-15 01:22:37 -08:00
lllyasviel 6769ab0f9b js 2023-11-14 23:52:35 -08:00
lllyasviel 97a6e87d18 fix some sorting problem 2023-11-14 23:36:58 -08:00
lllyasviel cec0c2a8df
2.1.808
* Aspect ratios now show aspect ratios.
* Added style search.
* Added style sorting/ordering/favorites.
2023-11-14 14:06:12 -08:00
lllyasviel 5158463216 js 2023-11-13 23:44:15 -08:00
lllyasviel 305c39d49c alter number 2023-11-13 23:06:31 -08:00
lllyasviel c9a5e729d9 fix #938 2023-11-13 22:57:35 -08:00
lllyasviel 6c812b68db add preprocessor skip 2023-11-13 14:35:23 -08:00
lllyasviel d3d63d5bf6 2.1.802
Default inpaint engine changed to v2.6. You can still use inpaint engine v1 in dev tools.
Fix some VRAM problems.
2023-11-13 04:37:25 -08:00
lllyasviel 7e222cf3e1 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-11-12 13:12:03 -08:00
lllyasviel ac8002d2a4 speed up lcm again 2023-11-12 09:12:09 -08:00
lllyasviel 649f45a6df 'Extreme Speed' performance mode 2023-11-12 07:55:44 -08:00
lllyasviel 54f4b265e0 lcm scheduler 2023-11-12 06:44:44 -08:00
lllyasviel e6aeefd2b4 only load libs when necessary 2023-11-12 02:16:11 -08:00
lllyasviel e7fe1d443a only load libs when necessary 2023-11-12 02:10:48 -08:00
lllyasviel 7e0c6d3421 add some javascripts
add some javascripts
2023-11-12 01:52:37 -08:00
lllyasviel 2bef62c545
2.1.790
2.1.790
2023-11-11 22:13:13 -08:00
lllyasviel 3d180e9eb6 inpaint engine v2.6 2023-11-11 09:47:54 -08:00
lllyasviel 09f70de40e fix math 2023-11-11 09:03:03 -08:00
lllyasviel 316ac6fafa new config 2023-11-11 07:45:07 -08:00
lllyasviel e17bbdbf5f less verbose 2023-11-11 02:39:34 -08:00
lllyasviel c35321013a better html log 2023-11-11 02:28:09 -08:00
lllyasviel 4fe08161a5 2.1.782
2.1.782
2023-11-11 01:43:01 -08:00
lllyasviel a9bb1079cf disable refiner when same as base 2023-11-08 23:39:57 -08:00
lllyasviel 2165114876 disable image grid
disable image grid by default because many users reports performance issues. like #829 and so on.
2023-11-05 19:09:20 -08:00
lllyasviel 87de9edb1a Support Ctrl+Up/Down Arrow 2023-11-05 04:51:46 -08:00
lllyasviel 49f47a6f5e try fix #849 2023-11-05 03:44:18 -08:00
lllyasviel 51d87ce00b license 2023-11-01 22:43:43 -07:00
lllyasviel c62fc6e1bc speedup 2023-11-01 15:55:59 -07:00
lllyasviel 7d532b0285 add words to tokenizer
thank you, GPT-4
2023-11-01 15:43:49 -07:00
lllyasviel 01bfa11fd1 minor revision
Now the GPT will try to (1) use more aligned formatting of commas, (2) a bit more dynamic in word choice, (3) avoid duplication like “detail, detail, detail, detail”
2023-11-01 12:58:34 -07:00
lllyasviel 5dc1221c65 maintain gpt 2023-10-31 14:41:18 -07:00
lllyasviel f07e64b357 remove unused codes 2023-10-31 13:20:34 -07:00
lllyasviel f30e71ad64 maintain gpt
maintain gpt
2023-10-31 12:32:02 -07:00
lllyasviel 1b96d3ba0b
Solve all GPT problems forever 2023-10-30 21:17:38 -07:00
lllyasviel 34bcfa79c0
improve gpt2
improve gpt2
2023-10-30 16:40:50 -07:00
lllyasviel d8616fe8dc
edit gpt list
edit gpt list
2023-10-30 13:50:46 -07:00
lllyasviel c697826f9f Update expansion.py 2023-10-30 12:38:13 -07:00
lllyasviel efcd4837ce Update expansion.py 2023-10-30 12:34:14 -07:00
lllyasviel 1d16b942b3 gpt minor fix 2023-10-30 12:26:35 -07:00
lllyasviel 867402e3df try fix #815 2023-10-29 22:03:59 -07:00
lllyasviel 759bfadefa fix async load order + image wall 2023-10-28 23:03:35 -07:00
lllyasviel 76120e045e update model list
Note that this only influence new users with new downloads
Previous users will not be forced to download new files, because this is not friendly and should be avoided.
delete user_path_config.txt to receive this new list
2023-10-28 16:20:11 -07:00
lllyasviel f07f7693d3 fix refiner 2023-10-26 19:42:50 -07:00
lllyasviel 4607316c2f get each image during generating
get each image during generating
2023-10-26 17:17:05 -07:00
lllyasviel 9982d34b6c safer deep copy 2023-10-26 10:29:30 -07:00
lllyasviel a16b451fd7
adjust context length (#795)
* adjust context length

* Update sdxl_styles_fooocus.json
2023-10-26 09:51:10 -07:00
lllyasviel 823fa924d3 disable expansion when empty since it is not meaningful and influences image prompt
disable expansion when empty since it is not meaningful and influences image prompt
2023-10-26 08:59:49 -07:00
lllyasviel d7ee814579 disable expansion when empty since it is not meaningful and influences image prompt 2023-10-26 08:51:53 -07:00
lllyasviel 175f3e3040 update backend + revise styles
update backend + revise styles
2023-10-26 08:24:45 -07:00
lllyasviel 214c2ba04c fix resize 2023-10-25 21:02:55 -07:00
lllyasviel 959f965b77 improve gpt2
improve gpt2
2023-10-25 17:03:49 -07:00
lllyasviel 01b1e98d37 Update Styles
Update Styles
2023-10-25 14:29:46 -07:00
lllyasviel a6ac4604cd remove unused codes 2023-10-25 11:18:16 -07:00
lllyasviel 38e70cebcc Update Backend
Update Backend
2023-10-25 09:40:13 -07:00
MoonRide303 19a03f1d0a Blocked remote access to auth.json 2023-10-24 21:55:29 +02:00
lllyasviel 5d32c208b2 remove unused codes 2023-10-24 11:38:03 -07:00
MoonRide303 fbbaf86232 Added support for authentication in --share mode (via auth.json) 2023-10-24 18:29:37 +02:00
MoonRide303 523aa190db Refactored handling max random seed 2023-10-24 12:15:43 +02:00
lllyasviel 10a9f0fc9d try fix some mps problems 2023-10-23 20:19:24 -07:00
lllyasviel 60cb91c406 allow ar config 2023-10-23 19:42:23 -07:00
lllyasviel 504e5478b0 remove unused/unstable codes 2023-10-23 15:09:24 -07:00
lllyasviel 0b90fd9e8e Revert "fix autocast in less aggressive way"
This reverts commit 7a6775acdc.
2023-10-23 14:22:35 -07:00
lllyasviel 7a6775acdc fix autocast in less aggressive way 2023-10-23 14:15:20 -07:00
lllyasviel 47281e52c4 Fixed many autocast problems. 2023-10-23 13:07:55 -07:00
lllyasviel 1272d50d35 fix math 2023-10-23 06:40:18 -07:00
MoonRide303 81650a4305 Increased allowed random seed range 2023-10-23 12:27:12 +02:00
lllyasviel 43bc2df328 revise math 2023-10-22 12:09:24 -07:00
lllyasviel 6f3fa4b670 remove unused codes 2023-10-22 09:00:16 -07:00
lllyasviel 576aa9283f ling 2023-10-22 08:28:25 -07:00
lllyasviel 4c94f0f590 reproduce previous results 2023-10-22 08:08:36 -07:00
lllyasviel 4cf0c778da fix potential numerical problems 2023-10-22 07:30:30 -07:00
lllyasviel 566cf08750 fix 2023-10-22 06:32:02 -07:00
lllyasviel 7d81eeed7e revise noise formulation
revise noise formulation
2023-10-22 06:02:35 -07:00
lllyasviel cb950bd247 additive noise
additive noise
2023-10-22 04:04:23 -07:00
lllyasviel dde311639e Avoid artifacts 2023-10-21 17:39:53 -07:00
lllyasviel 736a5aa3ac improve anime
Improve Fooocus Anime a bit by using better SD1.5 refining formulation.
2023-10-21 17:11:55 -07:00
lllyasviel adf134d446 100% cover all texts
100% cover all texts
2023-10-20 17:28:33 -07:00
lllyasviel 65190b4a68 fix 2023-10-20 16:28:51 -07:00
lllyasviel 650f32b920 more keys 2023-10-20 16:24:42 -07:00
lllyasviel 4479fbaaef Added language/en.json to make translation easier.
Added language/en.json to make translation easier.
2023-10-20 16:19:48 -07:00
lllyasviel df93f738de finally solve wide image inpaint UI problem, curse gradio 2023-10-20 10:44:02 -07:00
lllyasviel 9183cc0c71 I18N
I18N
2023-10-20 07:33:11 -07:00
MoonRide303 02282ab57a Corrected handling dash in wildcard names, more wildcards (extended-color) 2023-10-20 15:56:09 +02:00
lllyasviel 849dafb95b fix 2023-10-20 05:20:42 -07:00
lllyasviel d4a9b116e4 fix log for multiple-line prompts 2023-10-20 05:15:49 -07:00
lllyasviel ff8d649cac bfs for wildcard 2023-10-20 05:05:29 -07:00
lllyasviel 04066124c2 fix many resolution problems 2023-10-20 02:41:04 -07:00
MoonRide303 37da4ac13a Cleaned up Private Log (most users won't need information about raw prompts) 2023-10-20 11:07:23 +02:00
MoonRide303 48d2fb85f9 Added more information about prompts in Private Log, made wildcards in negative prompt use different seed 2023-10-20 10:08:14 +02:00
MoonRide303 6d76c55964 Added information about wildcards usage in console log 2023-10-20 09:28:23 +02:00
MoonRide303 59b32e9dec Allowed changing default values of advanced checkbox and image number 2023-10-19 23:04:10 +02:00
lllyasviel f553d0fb18 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-10-19 06:32:38 -07:00
lllyasviel 296b1da278 ling 2023-10-19 00:17:17 -07:00
lllyasviel 906dfa1331 ling
ling
2023-10-18 23:54:40 -07:00
lllyasviel 9660daff94
fix many inpaint bugs (#731)
fix many inpaint bugs
2023-10-18 06:22:08 -07:00
MoonRide303 c0b4e766fb Corrected reading empty negative prompt from config (it shouldn't turn into None) 2023-10-18 12:23:12 +02:00
MoonRide303 9532d167f8 Updated FreeU node to v2 (gives less overcooked results) 2023-10-18 09:53:43 +02:00
lllyasviel c751758016 Fooocus GitHub Bot Commit
This commit is generated by a GitHub bot of Fooocus
2023-10-18 00:30:39 -07:00
lllyasviel e5f614c14e disable memory 2023-10-17 23:56:20 -07:00
MoonRide303 02eadff97a Added support for loading model files from subfolders 2023-10-18 08:47:39 +02:00
lllyasviel 1374481b59 ling 2023-10-17 23:23:38 -07:00