Skip to content

Commit

Permalink
Merge branch 'SillyTavern:release' into release
Browse files Browse the repository at this point in the history
  • Loading branch information
teralomaniac authored Oct 27, 2023
2 parents 5781dd8 + 5f64d4b commit a64a235
Show file tree
Hide file tree
Showing 114 changed files with 3,752 additions and 7,437 deletions.
5 changes: 2 additions & 3 deletions .github/readme-zh_cn.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
[English](readme.md) | 中文

![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/8c41a061-7f72-4d2b-9d54-e6d058209e7b)
![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)

移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 ChromaDB 的聊天信息总结。
移动设备界面友好,多种人工智能服务或模型支持(KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale),类似 Galgame 的 老 婆 模 式,Horde SD,文本系统语音生成,世界信息(Lorebooks),可定制的界面,自动翻译,和比你所需要的更多的 Prompt。附带扩展服务,支持文本绘画生成与语音生成和基于向量数据库 的聊天信息总结。

基于 TavernAI 1.2.8 的分叉版本

Expand Down Expand Up @@ -81,7 +81,6 @@ SillyTavern 支持扩展服务,一些额外的人工智能模块可通过 [Sil
* 在聊天窗口发送图片,并由人工智能解释图片内容
* 文本图像生成(5 预设,以及 "自由模式")
* 聊天信息的文字转语音(通过 ElevenLabs、Silero 或操作系统的语音生成)
* ChromaDB 向量数据库,用于更智能的聊天 Prompt

扩展服务的完整功能介绍和使用教程,请参阅 [Docs](https://docs.sillytavern.app/extras/extensions/)

Expand Down
15 changes: 9 additions & 6 deletions .github/readme.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,18 @@
English | [中文](readme-zh_cn.md)

![image](https://github.com/SillyTavern/SillyTavern/assets/18619528/8c41a061-7f72-4d2b-9d54-e6d058209e7b)
![SillyTavern-Banner](https://github.com/SillyTavern/SillyTavern/assets/18619528/c2be4c3f-aada-4f64-87a3-ae35a68b61a4)

Mobile-friendly, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), VN-like Waifu Mode, Horde SD, System TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need. Optional Extras server for more SD/TTS options + ChromaDB/Summarize.
Mobile-friendly layout, Multi-API (KoboldAI/CPP, Horde, NovelAI, Ooba, OpenAI, OpenRouter, Claude, Scale), VN-like Waifu Mode, Stable Diffusion, TTS, WorldInfo (lorebooks), customizable UI, auto-translate, and more prompt options than you'd ever want or need + ability to install third-party extensions.

Based on a fork of TavernAI 1.2.8
Based on a fork of [TavernAI](https://github.com/TavernAI/TavernAI) 1.2.8

### Brought to you by Cohee, RossAscends, and the SillyTavern community
## Important news!

1. We have created a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.

NOTE: We have created a [Documentation website](https://docs.sillytavern.app/) to answer most of your questions and help you get started.
2. Missing extensions after the update? Since the 1.10.6 release version, most of the previously built-in extensions have been converted to downloadable add-ons. You can download them via the built-in "Download Extensions and Assets" menu in the extensions panel (stacked blocks icon in the top bar).

### Brought to you by Cohee, RossAscends, and the SillyTavern community

### What is SillyTavern or TavernAI?

Expand Down Expand Up @@ -80,7 +84,6 @@ SillyTavern has extensibility support, with some additional AI modules hosted vi
* Sending images to chat, and the AI interpreting the content
* Stable Diffusion image generation (5 chat-related presets plus 'free mode')
* Text-to-speech for AI response messages (via ElevenLabs, Silero, or the OS's System TTS)
* ChromaDB vector storage for smarter chat prompt formatting

A full list of included extensions and tutorials on how to use them can be found in the [Docs](https://docs.sillytavern.app/extras/extensions/).

Expand Down
2 changes: 1 addition & 1 deletion colab/GPU.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
"#@markdown * ckpt/sd15 - base SD 1.5\n",
"#@markdown * stabilityai/stable-diffusion-2-1-base - base SD 2.1\n",
"extras_enable_chromadb = True #@param {type:\"boolean\"}\n",
"#@markdown Enables ChromaDB for Infinity Context plugin\n",
"#@markdown Enables ChromaDB module\n",
"\n",
"import subprocess\n",
"import secrets\n",
Expand Down
4 changes: 4 additions & 0 deletions default/config.conf
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ const listen = true; // If true, Can be access from other device or PC. otherwis
const allowKeysExposure = false; // If true, private API keys could be fetched to the frontend.
const skipContentCheck = false; // If true, no new default content will be delivered to you.
const thumbnailsQuality = 95; // Quality of thumbnails. 0-100
const disableChatBackup = false; // Disables the backup of chat logs to the /backups folder

// If true, Allows insecure settings for listen, whitelist, and authentication.
// Change this setting only on "trusted networks". Do not change this value unless you are aware of the issues that can arise from changing this setting and configuring a insecure setting.
Expand All @@ -26,6 +27,8 @@ const extras = {
captioningModel: 'Xenova/vit-gpt2-image-captioning',
// Feature extraction model. HuggingFace ID of a model in ONNX format.
embeddingModel: 'Xenova/all-mpnet-base-v2',
// GPT-2 text generation model. HuggingFace ID of a model in ONNX format.
promptExpansionModel: 'Cohee/fooocus_expansion-onnx',
};

// Request overrides for additional headers
Expand All @@ -49,4 +52,5 @@ module.exports = {
requestOverrides,
thumbnailsQuality,
extras,
disableChatBackup,
};
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"type": "git",
"url": "https://github.com/SillyTavern/SillyTavern.git"
},
"version": "1.10.5",
"version": "1.10.6",
"scripts": {
"start": "node server.js",
"start-multi": "node server.js --disableCsrf",
Expand Down
1 change: 1 addition & 0 deletions public/assets/blip/.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Put blip audio files here
1 change: 1 addition & 0 deletions public/assets/live2d/.placeholder
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Put live2d model folders here
7 changes: 6 additions & 1 deletion public/context/Adventure.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
{
"story_string": "{{#if system}}{{system}}\n{{/if}}{{#if wiBefore}}{{wiBefore}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{personality}}\n{{/if}}{{#if scenario}}{{scenario}}\n{{/if}}{{#if wiAfter}}{{wiAfter}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}",
"chat_start": "",
"example_separator": "",
"chat_start": "",
"always_force_name2": false,
"trim_sentences": false,
"include_newline": false,
"custom_stopping_strings": "[\"\\n\"]",
"custom_stopping_strings_macro": true,
"name": "Adventure"
}
18 changes: 9 additions & 9 deletions public/css/extensions-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -103,39 +103,39 @@ input.extension_missing[type="checkbox"] {
}

/** LEFT COLUMN **/
#extensions_settings>.expression_settings {
#extensions_settings>#assets_ui {
order: 1;
}

#extensions_settings>.background_settings {
#extensions_settings>.expression_settings {
order: 2;
}

#extensions_settings>.sd_settings {
#extensions_settings>.background_settings {
order: 3;
}

#extensions_settings>#tts_settings {
#extensions_settings>.sd_settings {
order: 4;
}

#extensions_settings>#rvc_settings {
#extensions_settings>#tts_settings {
order: 5;
}

#extensions_settings>.objective-settings {
#extensions_settings>#rvc_settings {
order: 6;
}

#extensions_settings>#speech_recognition_settings {
#extensions_settings>.objective-settings {
order: 7;
}

#extensions_settings>#audio_settings {
#extensions_settings>#speech_recognition_settings {
order: 8;
}

#extensions_settings>#assets_ui {
#extensions_settings>#audio_settings {
order: 9;
}

Expand Down
7 changes: 4 additions & 3 deletions public/css/mobile-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -188,7 +188,8 @@

#showRawPrompt,
#copyPromptToClipboard,
#groupCurrentMemberPopoutButton {
#groupCurrentMemberPopoutButton,
#summaryExtensionPopoutButton {
display: none;
}

Expand Down Expand Up @@ -292,7 +293,7 @@
display: none;
}

#bg_menu_content {
.bg_list {
width: unset;
}
}
Expand Down Expand Up @@ -444,4 +445,4 @@
#horde_model {
height: unset;
}
}
}
4 changes: 3 additions & 1 deletion public/css/rm-groups.css
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@

#rm_group_members:empty {
width: 100%;
padding: 0.5em 0;
}

#rm_group_members:empty::before {
Expand Down Expand Up @@ -226,4 +227,5 @@

.group_member .avatar {
flex-shrink: 0;
}
flex-basis: auto;
}
6 changes: 6 additions & 0 deletions public/css/st-tailwind.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@
color: var(--fullred);
}

.highlighted {
color: black;
background-color: yellow;
text-shadow: none !important;
}

.m-t-0 {
margin-top: 0;
}
Expand Down
5 changes: 2 additions & 3 deletions public/css/tags.css
Original file line number Diff line number Diff line change
Expand Up @@ -138,8 +138,7 @@
filter: brightness(1);
}

.tags_view,
.open_alternate_greetings {
.tags_view {
margin: 0;
aspect-ratio: 1 / 1;
}
Expand Down Expand Up @@ -171,4 +170,4 @@
-1px 1px 0px black,
1px -1px 0px black;
opacity: 1;
}
}
3 changes: 1 addition & 2 deletions public/css/toggle-dependent.css
Original file line number Diff line number Diff line change
Expand Up @@ -328,8 +328,7 @@ body.movingUI .drawer-content,
body.movingUI #expression-holder,
body.movingUI .zoomed_avatar,
body.movingUI .draggable,
body.movingUI #floatingPrompt,
body.movingUI #groupMemberListPopout {
body.movingUI #floatingPrompt {
resize: both;
}

Expand Down
Loading

0 comments on commit a64a235

Please sign in to comment.