Commit Graph

4126 Commits

Author SHA1 Message Date
ebolam
14b14e26ec Fix for Javascript error on playing last action's TTS audio 2023-01-07 20:30:17 -05:00
Henk
2d85046493 Typo Fix 2023-01-07 21:35:58 +01:00
henk717
e0075d6a34 Merge pull request #249 from ebolam/UI2
Fix for tortoiseTTS crashing TTS if not installed (should be optional)
2023-01-07 21:32:56 +01:00
henk717
5f7a5d341b Merge pull request #248 from one-some/hide-load-button-for-now
Disable load model button on colab/when told to in CLI args
2023-01-07 21:32:37 +01:00
ebolam
bf7fb52d46 Fix for tortoiseTTS crashing TTS if not installed (should be optional) 2023-01-07 15:22:09 -05:00
henk717
0b1aad7677 Merge pull request #247 from GuiAworld/Themes
Added the new theme variables to all themes
2023-01-07 20:42:05 +01:00
Henk
6918a65593 Genre Example is now an example
You can also just submit your own genre's, so instead of prompting the player to search we use an example term.
2023-01-07 20:39:49 +01:00
somebody
d298915182 Disable load model button on colab/when prompted
Currently switching models makes the TPU cry and we do not want to upset
our dearest hardware friend.

In the future it'd probably be best to teach the TPU how to not be
afraid of switching models, provided we have some limitations that
prevent loading itty bitty or way too big models on the TPU.
2023-01-07 13:38:27 -06:00
henk717
285236bbe5 Merge pull request #246 from GuiAworld/UI2
A bunch of UI improvements & Material You theme update
2023-01-07 20:35:53 +01:00
somebody
73f85a1a9e More work on front end
Its extra shiny
2023-01-07 00:43:53 -06:00
GuiAworld
982dd115bb Added new theme variables to all themes 2023-01-06 22:58:04 -03:00
GuiAworld
75da540c99 Reverted to the old range sliders 2023-01-06 22:47:18 -03:00
somebody
8e24d91f6d Biasing ui update 2023-01-06 19:21:15 -06:00
GuiAworld
a3e1763969 Merge branch 'united' of https://github.com/henk717/KoboldAI into UI2 2023-01-06 22:01:32 -03:00
GuiAworld
51bf4f5159 Material You theme ported to United 2023-01-06 22:00:55 -03:00
GuiAworld
f3d3e55fec A bunch of UI improvements. 2023-01-06 22:00:33 -03:00
somebody
c6797a59ce Localize variables
Stop the leaking!
2023-01-06 18:08:39 -06:00
Henk
0342f0db78 Install submodules on requirements install
This helps people who clone the repository without knowing submodules need to be cloned, on the dependency installation it will now automatically check the submodules.
2023-01-06 18:11:48 +01:00
Henk
8fad03431d Merge branch 'main' into united 2023-01-06 16:55:18 +01:00
GuiAworld
075296325f Merge branch 'united' of https://github.com/henk717/KoboldAI into UI2 2023-01-06 12:42:01 -03:00
Henk
7fc5c46c1d Add Safetensors
Having the dependency adds basic support for safetensor models.
2023-01-06 16:40:56 +01:00
henk717
b4c2fa0dc1 Merge pull request #245 from pi6am/feat/flexible-memory-length
Change the maximum memory length to be based on the token budget
2023-01-06 16:30:58 +01:00
henk717
08e72d0f4d Merge pull request #244 from pi6am/fix/load-non-started
Fix loading a non-started V1 story json in UI2
2023-01-06 16:29:52 +01:00
Llama
b28cc01dba Change the maximum memory length to be based on the token budget
The maximum memory length was hardcoded to 512 tokens independent of
the overall context token budget. This was restrictive when the token
budget was increased, and excessive when the budget was decreased.

Based on feedback, this change modifies the max memory length to be 50%
of the context length. I tested with a memory consisting of the first
five paragraphs of The Three Musketeers, and the change seemed
reasonable with context lengths of 512, 1024 and 2048.

In order to minimize changes, this commit only modifies
max_memory_length; max_prompt_length and max_authornote_length are still
hardcoded as 512 tokens. We might want to make the max prompt length
flexible in the future, but since the author's note is injected into
the story, it's probably fine to restrict its length since a long
author's note will likely derail the AI.
2023-01-06 00:36:32 -08:00
Llama
ae215b94d5 ix loading a non-started V1 story json in UI2
There was an exception loading or importing a V1 story json into UI2 if
the story had zero actions. Do to incorrect indendation, the V1 load
process would attempt to use an uninitialized temp_story_class variable.

However, even after fixing this, it was impossible to continue playing
the saved story, because it was not possible to submit a blank action
when a story only had a prompt and zero actions. Modify the logic around
the first submission to handle a non-empty initial prompt. This allows
the player to begin playing the loaded game.
2023-01-05 23:42:24 -08:00
GuiAworld
2108eb9a82 fix Material You tooltips 2023-01-05 19:21:09 -03:00
Henk
482e8152b4 Docker Submodule Fixes
Adding proper support for the submodules so that Horde Bridges work correctly.
2023-01-05 21:34:11 +01:00
Henk
9b9ff307e7 Docker changes
The .github folder was causing workflow errors for everyone who didn't configure this correctly. I have updated the docker with the latest ideas for flexibility. If a quick build is desirable people can build upon the official KoboldAI United image a seperate base image should not be needed.
2023-01-05 19:57:46 +01:00
henk717
b80bad9c3d Merge pull request #243 from one-some/screenshot
Fix so-called "typo"
2023-01-05 17:44:23 +01:00
somebody
23047cdb81 Fix so-called "typo" 2023-01-05 06:39:45 -06:00
Llama
84408f0c2a Merge pull request #9 from henk717/united
Merge united
2023-01-04 23:41:01 -08:00
henk717
5a76bf94e0 Merge pull request #242 from one-some/screenshot
Removed model attribution optionality
2023-01-05 00:35:32 +01:00
somebody
8460b0de68 Removed option to disable model attribution
Some models have robot attribution as a requirement in the usage
agreement
2023-01-04 17:22:47 -06:00
henk717
0a3433a98e Merge pull request #241 from one-some/screenshot
Screenshot tool
2023-01-04 23:49:24 +01:00
somebody
ab0277549c Merge branch 'united' of https://github.com/henk717/KoboldAI into screenshot 2023-01-02 12:14:38 -06:00
henk717
0dd0634f19 Merge pull request #239 from MightyAlex200/united
Clean up the CSS
2023-01-02 16:27:35 +01:00
henk717
001d4e6391 Merge pull request #238 from one-some/ui2-edit-fixes
New frontend bugfixes
2023-01-02 16:25:09 +01:00
henk717
ba6a0eca21 Merge pull request #240 from pi6am/feat/image-prompt-improvements
Feat/image prompt improvements
2023-01-02 16:22:38 +01:00
Llama
48dd451a8c Add the ability to insert the story prompt into the art guide.
The art guide now optionally supports the sequence <|>
If this exists in the art guide, <|> is replaced by the story summary.
Otherwise, the art guide is appended to the summary as before.
Update the default art guide to place the medium before the summary.
Also update the art guide tooltip to include the new default.
2023-01-01 21:12:25 -08:00
somebody
0fbfcbe17d Better cross-browser styling for WI item type
The WI item type styling for Chrome is now (as far as I can tell) 1:1
with Firefox. This means there is actually now typing feedback!!!
2023-01-01 15:55:49 -06:00
Taylor
86ede6a2d6 Nudge the toggles in CSS 2022-12-29 23:31:33 -05:00
Taylor
ab043e78dc Clean up CSS significantly 2022-12-29 23:20:52 -05:00
Taylor
5f78ab2f90 Clean up "load model" area in new UI 2022-12-29 13:12:49 -05:00
somebody
1d938d843e Fix newlines
Because sometimes it just doesn't work
2022-12-27 21:49:59 -06:00
somebody
80cb15d602 Fix null image issue 2022-12-27 21:31:07 -06:00
somebody
34c13ee760 Track who wrote original action 2022-12-27 21:20:07 -06:00
somebody
d1b9f83241 Trim whitespace 2022-12-27 20:48:31 -06:00
somebody
f002ea234d Shave off unselected text
That was surprisingly difficult
2022-12-27 20:38:25 -06:00
somebody
6c89f2e722 Remove unused author name length warning
If a user wants to have a 100_000 character name, so be it!
2022-12-27 19:09:20 -06:00
somebody
00b10d2081 Implement boring colors 2022-12-27 19:05:27 -06:00