Commit Graph

842 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 6e0fe7b008
make disable_intermediate_results not interactive when selecting Extreme Performance
correctly reflects current behaviour to not clog gradio
2023-11-26 01:15:08 +01:00
Manuel Schmid 6ccf5cf2c1 correctly preset value and interactive for disable_preview when NSFW preview is configured accordingly 2023-11-26 00:33:32 +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 29d1c3ee34 update tqdm to 4.65.0 to be able to use translators==5.8.9
this commit is optional and can be reverted
2023-11-25 23:39:30 +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 65af7d3764 add prompt translation functionality 2023-11-25 23:13:54 +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 35be9adada
Merge branch 'feature/add-animals-to-wildcards' 2023-11-19 23:02:57 +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 7a302f3244 add list of 100 most popular animals to wildcards 2023-11-19 22:28:03 +01:00
Manuel Schmid 4a576bf08b code cleanup, do not disable skip/stop on stop_clicked 2023-11-18 21:40:14 +01:00
Manuel Schmid 8060e50a88 fix return parameters of stop_clicked 2023-11-18 21:00:35 +01:00
Manuel Schmid ebad9ea976
introduce state for task skipping/stopping 2023-11-18 20:51:54 +01:00
Manuel Schmid 83efbbd2fa
Revert "only make stop_button and skip_button interactive when rendering process starts"
This reverts commit d3f9156854.
2023-11-18 17:23:37 +01:00
Manuel Schmid 617255d040
use AsyncTask for last_stop handling instead of shared 2023-11-18 17:20:41 +01:00
Manuel Schmid 2856893e15
handle generate button visibility in generate_clicked 2023-11-18 14:32:42 +01:00
Manuel Schmid d3f9156854
only make stop_button and skip_button interactive when rendering process starts
fix inconsistency in behaviour of stop_button and skip_button as it was possible to skip or stop other users processes while still being in queue
2023-11-18 13:02:39 +01:00
Manuel Schmid 2e1e82941d
rebase changes of main for easier handling 2023-11-18 12:58:05 +01:00
Yuki Shindo 8f9f020e8f
fix canvas tooltip position (#975) 2023-11-17 14:37:21 -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 28f9342d10 fix failed upgrade test from 2.0.X 2023-11-15 09:32:14 -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 608fe3962c some js for lora UI 2023-11-15 07:30:16 -08:00
lllyasviel e59fd50787 Update readme.md 2023-11-15 03:59:12 -08:00
lllyasviel 13f476eb36 colab test 2023-11-15 03:20:48 -08:00
lllyasviel fce145dfac update log 2023-11-15 02:54:54 -08:00