This commit is contained in:
SillyLossy
2023-04-21 17:50:50 +03:00
8 changed files with 15 additions and 15 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.7 KiB

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

After

Width:  |  Height:  |  Size: 32 KiB

View File

@ -164,10 +164,10 @@ window["TavernAI"] = {};
let converter = new showdown.Converter({ emoji: "true" }); let converter = new showdown.Converter({ emoji: "true" });
const gpt3 = new GPT3BrowserTokenizer({ type: 'gpt3' }); const gpt3 = new GPT3BrowserTokenizer({ type: 'gpt3' });
/* let bg_menu_toggle = false; */ /* let bg_menu_toggle = false; */
const systemUserName = "TavernAI"; const systemUserName = "SillyTavern System";
let default_user_name = "You"; let default_user_name = "You";
let name1 = default_user_name; let name1 = default_user_name;
let name2 = "TavernAI"; let name2 = "SillyTavern System";
let chat = []; let chat = [];
let safetychat = [ let safetychat = [
{ {
@ -249,13 +249,13 @@ const system_messages = {
is_user: false, is_user: false,
is_name: true, is_name: true,
mes: [ mes: [
'Welcome to TavernAI! In order to begin chatting:', 'Welcome to SillyTavern! In order to begin chatting:',
'<ul>', '<ol>',
'<li>Connect to one of the supported generation APIs</li>', '<li>Connect to one of the supported generation APIs (the plug icon)</li>',
'<li>Create or pick a character from the list</li>', '<li>Create or pick a character from the list (the top-right namecard icon)</li>',
'</ul>', '</ol>',
"<h4>Running on Colab and can't get an answer from the AI or getting Out of Memory errors?</h4>", "<h4>Running on Colab and can't get an answer from the AI or getting Out of Memory errors?</h4>",
'Set a lower Context Size in AI generation settings.<br>Values in range of 1400-1600 Tokens would be the safest choice.', 'Set a lower Context Size in AI generation settings (leftmost icon).<br>Values in range of 1400-1600 Tokens would be the safest choice.',
'<h4>Still have questions left?</h4>', '<h4>Still have questions left?</h4>',
'Check out built-in help or type <tt>/?</tt> in any chat.' 'Check out built-in help or type <tt>/?</tt> in any chat.'
].join('') ].join('')
@ -1661,7 +1661,7 @@ async function Generate(type, automatic_trigger, force_name2) {
is_add_personality = true; is_add_personality = true;
//chatString = chatString.substr(0,chatString.length-1); //chatString = chatString.substr(0,chatString.length-1);
//anchorAndPersonality = "[Genre: roleplay chat][Tone: very long messages with descriptions]"; //anchorAndPersonality = "[Genre: roleplay chat][Tone: very long messages with descriptions]";
let personalityAndAnchor = [ charPersonality, anchorTop ].filter(x => x).join(' '); let personalityAndAnchor = [charPersonality, anchorTop].filter(x => x).join(' ');
if (personalityAndAnchor && !is_pygmalion) { if (personalityAndAnchor && !is_pygmalion) {
item += "[" + personalityAndAnchor + ']\n'; item += "[" + personalityAndAnchor + ']\n';
} }

View File

@ -3489,9 +3489,9 @@ body.movingUI #expression-holder {
} }
#send_textarea { /* #send_textarea {
font-size: calc(var(--mainFontSize) + .25rem); font-size: calc(var(--mainFontSize));
line-height: calc(var(--mainFontSize) + .5rem); line-height: calc(var(--mainFontSize));
min-height: calc(2rem + 0.75rem + 2px); min-height: calc(2rem + 0.75rem + 2px);
max-height: 200px; max-height: 200px;
word-wrap: break-word; word-wrap: break-word;
@ -3505,7 +3505,7 @@ body.movingUI #expression-holder {
font-family: "Noto Sans", "Noto Color Emoji", sans-serif; font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
margin: 0; margin: 0;
text-shadow: #000 0 0 3px; text-shadow: #000 0 0 3px;
} } */
#rm_ch_create_block textarea { #rm_ch_create_block textarea {
max-height: 200px; max-height: 200px;