Commit Graph

446 Commits

Author SHA1 Message Date
Manuel Schmid 92a54cff22
Merge branch 'feature/add-prompt-translate' 2023-11-26 11:23:38 +01:00
Manuel Schmid 8718e80dc2
move import as it checks for users ip and geolocation
Only metadata of users who specifically activated the prompt translate checkbox should be requested.
This also prevented users with adblockers on DNS level from being able to generate images, now fixed.
2023-11-26 11:23:02 +01:00
Manuel Schmid 298a807a1b Merge branch 'feature/add-prompt-translate'
# Conflicts:
#	requirements_versions.txt
#	webui.py
2023-11-26 00:14:12 +01:00
Manuel Schmid 25c3184ddc move prompt translation to async_worker 2023-11-25 23:26:29 +01:00
Manuel Schmid eeb1013638 use separate module for translator 2023-11-25 23:21:09 +01:00
Manuel Schmid 823939cd5a Merge remote-tracking branch 'upstream/main' 2023-11-25 22:20:05 +01:00
Manuel Schmid 81f1ddb6c4 deactivate global / file style sorter 2023-11-25 21:19:09 +01: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
Manuel Schmid 44c6ddb731 disable intermediate results on LCM sampler
prevents image result clogging due to LCM being so fast
2023-11-23 00:34:08 +01:00
Manuel Schmid 99f7b6e6d4
Merge branch 'feature/add-advanced-parameter-disable-intermediate-images' 2023-11-22 23:44:18 +01:00
Manuel Schmid 87e312e683
add advanced parameter for disable_intermediate_results
prevents gradio frontend process from clogging image output and updates in high throughput scenarios such as LCM with image number >= 4
2023-11-22 23:42:25 +01:00
Manuel Schmid b1f79a4b44 move nsfw filter to core module, make preview hiding more effective 2023-11-22 23:22:55 +01:00
Manuel Schmid 87fc830981 add steps info to performance selection radio buttons 2023-11-22 22:17:24 +01:00
Manuel Schmid 0e7c42f6e8 Merge remote-tracking branch 'origin/hotfix/prevent-skipping-and-stopping-by-other-users' 2023-11-21 22:32:27 +01:00
Manuel Schmid d2e25400f7
Merge branch 'lllyasviel:main' into hotfix/prevent-skipping-and-stopping-by-other-users 2023-11-21 22:31:13 +01: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
Manuel Schmid a5f3e4af9b
Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users'
# Conflicts:
#	modules/config.py
2023-11-20 22:01:40 +01:00
Manuel Schmid 8acb2d7537
Merge branch 'main_upstream' into hotfix/prevent-skipping-and-stopping-by-other-users
# Conflicts:
#	webui.py
2023-11-20 22:00:08 +01: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 d7f9fe9732 Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users' 2023-11-19 23:30:29 +01:00
Manuel Schmid d2cc9a4fc8 reset last_stop when skipping for further processing 2023-11-19 23:30:18 +01:00
Manuel Schmid 9b680c51a8
Merge branch 'hotfix/prevent-skipping-and-stopping-by-other-users'
# Conflicts:
#	webui.py
2023-11-19 22:57:58 +01:00
Manuel Schmid ebad9ea976
introduce state for task skipping/stopping 2023-11-18 20:51:54 +01:00
Manuel Schmid 617255d040
use AsyncTask for last_stop handling instead of shared 2023-11-18 17:20:41 +01:00
Manuel Schmid 2e1e82941d
rebase changes of main for easier handling 2023-11-18 12:58:05 +01: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
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