hisk2323
eb3f4d745c
feat: add suffix ordinals ( #845 )
...
* add suffix ordinals with lambda
* delay importing of modules.config (#2195 )
* refactor: use easier to read version to find matching ordinal suffix
---------
Co-authored-by: rsl8 <138326583+rsl8@users.noreply.github.com>
Co-authored-by: Manuel Schmid <manuel.schmid@odt.net>
Co-authored-by: Manuel Schmid <9307310+mashb1t@users.noreply.github.com>
2024-02-10 21:49:23 +01:00
Evgenii
c32b9bdc44
fix: replace regexp to support unicode chars ( #1424 )
2024-02-10 19:15:57 +01:00
Manuel Schmid
98ba1d5d47
fix: correctly sort files, display deepest dir level first ( #1784 )
2024-02-10 19:03:26 +01:00
V1sionVerse
d1a450c581
Fixed mistakes in HTML generation ( #2187 )
...
Added <!DOCTYPE html> declaration
<img/> instead of <img></img>
<br/> instead of </br>
2024-02-10 17:50:41 +01:00
Manuel Schmid
c4813810e3
Merge remote-tracking branch 'upstream/main' into feature/add-nsfw-filter
2024-02-04 13:34:48 +01:00
lllyasviel
1bcbd6501b
fix config
2024-01-27 16:18:26 -08:00
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
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
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
Manuel Schmid
8a2141c9fc
Merge branch 'main_upstream' into feature/add-nsfw-filter
2023-12-27 18:41:56 +01: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
Manuel Schmid
e97008d4fb
add checkbox black_out_nsfw
...
makes both enabling via config and checkbox possible, where config overrides the checkbox value
2023-12-16 22:55:25 +01:00
Manuel Schmid
cdaaec3e71
use config to set cache dir for safety checker
2023-12-16 19:25:02 +01: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
Manuel Schmid
ea764855f8
Merge remote-tracking branch 'upstream/main' into feature/add-nsfw-filter
...
# Conflicts:
# modules/async_worker.py
# modules/config.py
2023-12-14 22:55:45 +01: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
Manuel Schmid
3dc69a5293
fix progressbar call for nsfw output
2023-11-18 12:17:06 +01:00
Manuel Schmid
6893c8dd48
Merge commit '8f9f020e8f90efb3787f0feb0e544539110e40ce' into feature/add-nsfw-filter
...
# Conflicts:
# modules/async_worker.py
2023-11-18 12:03:09 +01: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
Manuel Schmid
52ae346c9d
add nsfw image censoring
...
activatable via config, uses CompVis/stable-diffusion-safety-checker
2023-11-15 22:00:45 +01: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