Commit Graph

1469 Commits

Author SHA1 Message Date
ebolam
09e1bb8366 Add back in horde generation if statement 2022-11-01 15:03:47 -04:00
ebolam
6c146b805d Remove debug prints 2022-11-01 14:58:55 -04:00
ebolam
6710b100b7 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-01 14:54:47 -04:00
ebolam
87f7d20d4a Added privacy mode (ctrl+L). Will blur the screen until a password is entered (configured in the interface tab under the UI section). 2022-11-01 14:54:38 -04:00
Viningr
dd7c429005 Merge branch 'ebolam:UI2' into master 2022-11-01 23:29:42 +10:00
Robert Vining
0bb6e0afae - Updated UI_2_generate_image()to reference new option in the Image Generation dropdown menu.
- Using Local SD-WebUI API option will send a post request to stable-diffusion-webui running with the --api switch on http://127.0.0.1:7860/sdapi/v1/txt2img

Signed-off-by: Robert Vining
2022-11-01 23:24:19 +10:00
Robert Vining
107bbfa291 Added new function text2img_api()
- sends prompt to locally hosted stable-diffusion-webui API and retrieves
 image result. info from SD API is embedded in png file as it is saved.
 image files are named with the current date at generation and saved
 in /stories/art/

Modified UI_2_generate_image() to call text2img_api() instead of text2img_horde


Signed-off-by: Robert Vining <offers@robertrvining.com>
2022-11-01 18:01:20 +10:00
Llama
77813df2f0 Re-enable and fix several issues with phrase bias
Add the PhraseBiasLogitsProcessor to the logits processor list

Fix an issue with bias phrases that contain the start token
multiple times.  Because we were searching backwards for the first
occurrence of the start token, we would restart the phrase when
we encountered a subsequent instance of the token.  We now search
forwards from the maximum possible overlap to find the maximum overlap.

Fix an issue with the phrase bias token index not accounting for
non-matching words.  Previously, once we found the start token,
we would apply the bias for each token in the bias phrase even if
subsequent tokens in the context didn't match the bias phrase.

Do not apply phrase completion if the bias score is negative.

If multiple phrases apply a score modifier to the same token, add
the scores rather than replacing the modifier with the last occurrence.

Increase the maximum range of the bias slider.  For extremely
repetitive text on large models, -12 is insufficient to break the
model out of its loop.  -50 to 50 is potentially excessive, but it's
safer to give the user some additional control over the bias score.
2022-11-01 00:20:15 -07:00
ebolam
48852f650f Fix for story rename 2022-10-30 20:21:31 -04:00
ebolam
9291e11088 Fix for colab theme loading bug 2022-10-29 11:55:12 -04:00
ebolam
972744c947 Added notification when dynamic world info is triggered 2022-10-29 10:29:53 -04:00
ebolam
16e3478fa6 Popup fixes 2022-10-28 21:50:26 -04:00
ebolam
8476083490 Missing Quote Fixed (wasn't needed anymore 2022-10-28 20:59:54 -04:00
ebolam
72121519de Whoops 2022-10-28 19:23:23 -04:00
ebolam
f48d5efac1 Potential Colab Fix 2022-10-28 19:19:58 -04:00
ebolam
0aa558f17b Fix for position of debug dump on popups 2022-10-28 19:10:27 -04:00
ebolam
c3ccdb0b50 Potential Colab URL fix 2022-10-28 14:19:50 -04:00
ebolam
8859704c44 Merge pull request #255 from one-some/ui2-notifs
Notifications
2022-10-28 09:40:51 -04:00
somebody
a56ef92dc6 Notifications
:)
2022-10-27 21:19:22 -05:00
ebolam
a253b66213 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-10-27 12:01:46 -04:00
ebolam
e7744e2272 Fix for user script popup 2022-10-27 12:01:35 -04:00
somebody
51a19cb9dd Fix attention bias aux device 2022-10-26 20:04:29 -05:00
ebolam
09683052f1 Bug Fix 2022-10-26 20:21:29 -04:00
henk717
2e3a80b8ea Merge branch 'KoboldAI:main' into united 2022-10-26 23:11:26 +02:00
vfbd
3233e78c56 Fix "is on the meta device" error when loading model with disk cache 2022-10-26 16:00:45 -04:00
ebolam
c3180fb06f Move display of Colab link to later in the load process for TPUs 2022-10-25 09:41:59 -04:00
ebolam
405578f2b3 Colab Update 2022-10-24 20:28:56 -04:00
ebolam
db2fbbb17a Colab Debug 2022-10-24 19:16:03 -04:00
ebolam
47c832fde4 Add Original UI status for TPU connection/loading 2022-10-24 18:52:53 -04:00
ebolam
4dd7ba383d Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-10-24 18:34:55 -04:00
ebolam
b01713875c Add status bar message and status bar for TPU loading 2022-10-24 18:34:45 -04:00
ebolam
b6c0caaeae Added javascript errors to debug download and aiserver log to debug download 2022-10-24 13:51:46 -04:00
ebolam
c0fb992091 Fix for world info key tabbing 2022-10-24 12:16:40 -04:00
ebolam
86b67b2fbd Merge pull request #244 from one-some/ui2-rwkv-fixes
RWKV Fixes
2022-10-23 14:47:59 -04:00
somebody
d459d2a65e Fix RWKV tokenizer message 2022-10-23 13:41:14 -05:00
somebody
6f7e592f5e RWKV Update 2022-10-23 13:37:56 -05:00
ebolam
a320b0ee5d Change V2 story filename to .V2 instead of _V2 2022-10-23 12:57:19 -04:00
ebolam
e101e43132 Merge commit 'refs/pull/243/head' of https://github.com/ebolam/KoboldAI into UI2 2022-10-23 12:03:40 -04:00
ebolam
06ee1426a1 Progress Bar for UI1 fixed
Console print for model loading fixed
2022-10-22 21:05:07 -04:00
ebolam
adf2b481c3 Welcome Text Fix 2022-10-22 20:20:26 -04:00
henk717
351fb3c80b Merge pull request #232 from VE-FORBRYDERNE/mkultra
Universal mkultra-based soft prompt tuner
2022-10-22 14:13:42 +02:00
somebody
7af1cac184 Convert wi upload to a post request 2022-10-21 21:03:42 -05:00
ebolam
2606d0e6a2 Batching enabled for World Info Transmit 2022-10-21 15:31:16 -04:00
ebolam
444cfe2f2c Load file popup speed increase 2022-10-21 11:41:24 -04:00
ebolam
2398ec3b36 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-10-21 09:12:41 -04:00
ebolam
097aff4e01 Fix for scrolling when using options 2022-10-21 09:12:35 -04:00
somebody
de3c408cc1 Support title in aidg import 2022-10-20 18:04:11 -05:00
somebody
911bda76d4 Expand attention bias 2022-10-19 21:06:01 -05:00
ebolam
0a81727fc2 Merge commit 'refs/pull/227/head' of https://github.com/ebolam/KoboldAI into UI2 2022-10-19 10:32:04 -04:00
ebolam
3d6a939a4e Fix for blank chat mode data causing crashes 2022-10-18 20:23:54 -04:00