Commit Graph

3078 Commits

Author SHA1 Message Date
ebolam
c39ea5b6e7 Changed auto build to once a day 2022-11-10 15:53:00 -05:00
ebolam
4ed708080a Docker Fix 2022-11-10 15:00:42 -05:00
ebolam
d6c267ae66 Docker Update 2022-11-10 14:57:24 -05:00
ebolam
28873fd793 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-10 14:46:15 -05:00
ebolam
937ea8bddc Docker File Update 2022-11-10 14:46:08 -05:00
ebolam
a56bfc9e0f Update docker-image.yml 2022-11-10 14:43:54 -05:00
ebolam
a39e9b7d71 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-10 14:39:58 -05:00
ebolam
79ede572e5 Docker update 2022-11-10 14:39:51 -05:00
ebolam
5240d3e243 Update docker-image.yml 2022-11-10 14:13:38 -05:00
ebolam
cf156824f1 create workflow for auto-docker image 2022-11-10 14:10:32 -05:00
ebolam
a281f39903 Move horde bridge system requirements to base docker image 2022-11-10 13:41:51 -05:00
ebolam
26bf04d865 New Docker process (will integrate with github to keep up to date) 2022-11-10 13:39:26 -05:00
ebolam
7c7b68e4dd Working on Deterministic AI UI changes and dynamic world info bug 2022-11-10 13:38:29 -05:00
ebolam
534cc1e859 Add ID to setting cards 2022-11-09 20:05:34 -05:00
ebolam
875c56c5e7 Added URL for local stable web api 2022-11-09 19:46:57 -05:00
ebolam
0cd70fdb56 Fix for image generation using horde 2022-11-09 19:36:03 -05:00
ebolam
87e3f75ebe Merge pull request #290 from one-some/ui2-logit-things-are-just-too-invasive-get-them-away-NOW
Add context manager for sandboxing invasive transformers patches
2022-11-09 18:44:39 -05:00
ebolam
5ea921d17e Potential fix for issue 285 2022-11-09 18:37:30 -05:00
somebody
c43d0f9aa1 Add context manager for sandboxing invasive transformers patches 2022-11-09 17:31:25 -06:00
ebolam
d18f16e369 Fix for right click add to world info not working if root folder is missing 2022-11-09 18:12:40 -05:00
ebolam
9bfc84880e Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-07 17:28:32 -05:00
ebolam
ba2eb0ab1b Fix for valid_story model loading bug 2022-11-07 17:28:19 -05:00
ebolam
2b16d42a6f Merge pull request #288 from Viningr/UI2
Updated text2img_api function to fix index out of range error, plus additional QOL changes.
2022-11-05 15:10:40 -04:00
Viningr
57bc648f8c Merge pull request #1 from Viningr/master
- Updated code in text2img_api to better handle output from stable-di…
2022-11-05 22:21:35 +10:00
Robert Vining
bbe2f9b1c4 - Updated code in text2img_api to better handle output from stable-diffusion=webui api.
- updated code for PNG text handling, only adds prompt to PNG tex.

Signed-off-by: Robert Vining
2022-11-05 22:19:48 +10:00
ebolam
52b6d26977 Fix for action count on story load screen 2022-11-04 17:20:27 -04:00
ebolam
06a191f0e2 Welcome Fix 2022-11-04 15:01:24 -04:00
ebolam
05db8904e5 Model Welcome Positioning Fix 2022-11-04 11:38:04 -04:00
ebolam
11ca7d421a Model welcome text positioning fix
Fix for options showing up when scrolling
2022-11-04 11:31:28 -04:00
ebolam
186b932f1e Merge pull request #283 from LightSaveUs/UI2
Optional WI Match Highlighting
2022-11-04 10:58:45 -04:00
LightSaveUs
d00f1f27a2 Making WI highlighting optional 2022-11-04 09:10:51 +03:00
ebolam
7f96a3c040 Fix for issue 281 2022-11-03 20:01:54 -04:00
ebolam
73423c9b19 Merge pull request #280 from LightSaveUs/UI2
Minor Refinements
2022-11-03 19:58:09 -04:00
ebolam
52f9c61af5 Merge branch 'UI2' of https://github.com/ebolam/KoboldAI into UI2 2022-11-03 19:56:38 -04:00
ebolam
ffbce750f5 Fix for undo bug. 2022-11-03 19:56:25 -04:00
LightSaveUs
aac2bea87f Privacy Password Tooltip Refinement 2022-11-02 01:57:10 +03:00
LightSaveUs
42ff1c53e4 Stored Prompt -> Contextual Prompt 2022-11-02 01:56:25 +03:00
ebolam
1f2e755f9a Merge pull request #278 from Viningr/master
Updated Image Gen function to support local stable-diffusion-webui API endpoint.
2022-11-01 16:06:37 -04:00
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
ebolam
3ea1af5434 Merge pull request #276 from pi6am/feat/phrase-bias-improvements
Re-enable and fix several issues with phrase bias
2022-11-01 08:02:13 -04: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
07eb1b5a26 Merge pull request #271 from one-some/ui2-better-clubbing
Better club importing
2022-10-31 15:43:52 -04:00
somebody
cdb058e47d Make club loading nicer 2022-10-30 21:34:49 -05:00
somebody
53b1695627 Support auto-focusing in openPopup 2022-10-30 21:32:47 -05:00