Commit Graph

126 Commits

Author SHA1 Message Date
kingbri
cdbca6d9fd CFG: Include the entire prompt with negative prompt
CFG with LLMs works differently than stable diffusion. The main principle
is prompt mixing and utilizing the differences between the two prompts
rather than a full "negative prompt" of what the user doesn't want.

SillyTavern its own way of formatting a prompt sent to an LLM backend.
Therefore, take that prompt and add negatives to it.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-18 22:18:09 -04:00
deffcolony
33a5a026d5 removes width: 100% from img.expression
this will fix the image resolution on mobile
2023-08-18 15:13:41 +02:00
Cohee
9bd9ddb9e1 Fix expressions display 2023-08-18 14:47:59 +03:00
Cohee
c4d8d70103 Improve phone usability of sortable drags 2023-08-18 13:41:46 +03:00
Cohee
75378eff4e #937 Add dynamic chat backgrounds generation 2023-08-18 00:41:21 +03:00
Tony Ribeiro
16f3949e0b merging with myself :p 2023-08-17 21:39:19 +02:00
Tony Ribeiro
a5c95c7151 Added full coqui-api model list available via new origin in Coqui UI: Coqui API (Experimental). Some model might not work, need to be tested. 2023-08-17 21:33:06 +02:00
Cohee
50005b5617 Reformat rvc/tts plugins 2023-08-17 12:05:17 +03:00
Tony Ribeiro
58123f5c29 Added RVC upload functionality, allow to send rvc model archive (zip/7z format) to extras, automatically installed properly on server side. 2023-08-17 04:47:41 +02:00
Tony Ribeiro
a07637aa43 Coqui TTS UI, added a button to remove choosen character from the voice map. Fixed the request spam to extras when there is no local coqui model or no rvc model in extras folder. 2023-08-17 01:16:57 +02:00
Tony Ribeiro
6dce566cb9 Coqui TTS UI, corrected hiding model div when origin select is none 2023-08-16 21:31:51 +02:00
Tony Ribeiro
cd097df42f Change RVC pitch extraction "" label to "None" 2023-08-16 20:13:29 +02:00
Tony Ribeiro
05504ebbb2
Merge branch 'SillyTavern:staging' into staging 2023-08-16 19:19:29 +02:00
Tony Ribeiro
735066fe10 Added Coqui TTS extension option to use local models (no language/no speakers) 2023-08-16 19:19:13 +02:00
Cohee
99c3a09b8e Reduce unnecessary console spam 2023-08-16 18:54:52 +03:00
Cohee
1fa281b03c
Merge pull request #946 from Tony-sama/staging
RVC extension new UI and per character settings
2023-08-16 17:49:24 +03:00
Cohee
3682924624 Round context messages to nearest 5 for auto-adjust 2023-08-16 17:22:42 +03:00
Tony Ribeiro
a64130c71c Remove toastr error for character without RVC model assigned, just show it in console info to allow group chat with/withou RVC per character. 2023-08-15 21:35:07 +02:00
Tony Ribeiro
3cb2b7a4a9
Merge branch 'SillyTavern:staging' into staging 2023-08-15 21:15:45 +02:00
Tony Ribeiro
84845ae911 Updated RVC UI to allow per characters settings without manual voice map text. 2023-08-15 21:15:31 +02:00
Cohee
ba8fa8bd0c Merge branch 'release' into staging 2023-08-15 21:38:51 +03:00
joe
f0d208f929 Add speed-speech due to fast processing time 2023-08-15 19:37:15 +09:00
joe
36c6f57d96 Added stop to lip sync when user stops TTS early 2023-08-15 19:25:42 +09:00
Cohee
3850e6b50a Replace object stores for Chroma and token cache 2023-08-14 22:19:14 +03:00
Cohee
32745609a2
Merge pull request #936 from Tony-sama/staging
Refactoring of Coqui TTS extension
2023-08-14 14:00:45 +03:00
Cohee
a0bfc67632 Add hint for CFG scale 2023-08-14 12:50:00 +03:00
Tony Ribeiro
f97cc5694d refresh character even when module is not detected 2023-08-14 05:14:21 +02:00
Tony Ribeiro
213099dd6d removed debug messages 2023-08-14 05:05:10 +02:00
Tony Ribeiro
5816d2d6a6 Correct typo in tts index file that cause tts provider settings to be destroyed. 2023-08-14 05:03:42 +02:00
Tony Ribeiro
40d4123f08 Correct typo in tts index file that cause tts provider settings to be destroyed. 2023-08-14 04:59:11 +02:00
Tony Ribeiro
e97863a0da Merge branch 'staging' of https://github.com/Tony-sama/SillyTavern into staging 2023-08-14 04:03:34 +02:00
Tony Ribeiro
c414606c81 Finished new version of coqui TTS UI. 2023-08-14 04:03:28 +02:00
Tony Ribeiro
fdc9349f68
Merge branch 'SillyTavern:staging' into staging 2023-08-14 04:01:32 +02:00
Cohee
c0bc425c8b Debounce manager changes 2023-08-13 18:43:17 +03:00
Cohee
bd3933bcbf
Merge pull request #905 from bdashore3/cfg-window
Add CFG side panel
2023-08-13 14:55:03 +03:00
kingbri
43e91b150a CFG: Add groupchat support
Groupchats have their CFG defined a little differently. Chat and
global CFGs are publicly accessible within the window. As a compromise,
individual character CFGs can be injected as part of each character's
prompt. However, these CFG settings need to be adjusted in the character's
individual chats which will carry over to the group.

In addition, make this character logic gated under a checkbox to
always prefer chat unless explicitly specified. Negative cascading
is still open, so individual character negatives can be included
at any time.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-12 22:52:34 -04:00
Tony Ribeiro
e60f91ce42 Finished unefficient full coqui pipeline, UI generated through request to extras. Need to be pruned 2023-08-13 02:18:46 +02:00
kingbri
4a21ee0337 CFG: Add ability to combine negative prompts
This allows for flexibility with global, character, and chat negative
prompts. Combining prompts is very useful for users who want to maintain
a set of global negatives and then add extra layers on top of that. The
ordering is chat -> character -> global tags due to the specificity of
each.

The guidance scale follows the cascade of chat -> character -> global
due to being one number that is set when CFG is fired. If the guidance
scale is 1, nothing happens.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-12 16:25:35 -04:00
Tony Ribeiro
1eb4dd9a4f
Merge branch 'SillyTavern:staging' into staging 2023-08-12 14:36:23 +02:00
Cohee1207
b77cc8672d #923 Fix chroma checkbox not saving 2023-08-12 15:32:18 +03:00
Tony Ribeiro
395de0fab8 Started refactoring of Coqui-tts extension. 2023-08-12 06:05:39 +02:00
Tony Ribeiro
362df6b144 Merge branch 'staging' of https://github.com/Tony-sama/SillyTavern into staging 2023-08-11 14:50:25 +02:00
Tony Ribeiro
a7cf04f057 Change RVC voice map syntax to use ":" in place of "=". Add toastr info feed for both success and failed map on apply. 2023-08-11 14:50:04 +02:00
joe
9fec82bd31 Add / Update talking lips animations 2023-08-11 14:43:53 +09:00
kingbri
5bb6c89868 CFG: Add per-chat CFG and fixes
Per-chat CFG applies a CFG setting per-chat only rather than character
or globally. This overrides all other CFG settings (this will be changed).

Also add fixes to remove character CFG entries properly and not to
apply CFG if the scale is 1 as that won't do anything to generation.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-11 01:39:15 -04:00
kingbri
63ee7d4e10 CFG: Add per-character support
Adds per-character CFG as a drop-in replacement for global CFG. If
the use character CFG checkbox isn't checked, the global one will be
used.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-11 01:39:15 -04:00
kingbri
0c94740560 Extensions: Add global CFG support
CFG is bundled as an extension which is more flexible in terms of
storing settings and consolidating code.

Global CFG is currently supported and the old power user setting
is auto-migrated.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-08-11 01:39:15 -04:00
joe
5feebd4897 live2d -> talking head 2023-08-11 06:55:05 +09:00
joe
e4f22fdc99 live2d -> talkinghead 2023-08-11 06:52:14 +09:00
Tony Ribeiro
21a2bdac67 return original audio when RVC voice map has no model for the character 2023-08-10 17:12:37 +02:00