diff --git a/public/backgrounds/cozynight.jpg b/public/backgrounds/cozynight.jpg deleted file mode 100644 index ce1391a4c..000000000 Binary files a/public/backgrounds/cozynight.jpg and /dev/null differ diff --git a/public/backgrounds/getrest.jpg b/public/backgrounds/getrest.jpg deleted file mode 100644 index f69db9732..000000000 Binary files a/public/backgrounds/getrest.jpg and /dev/null differ diff --git a/public/backgrounds/kingdom.jpg b/public/backgrounds/kingdom.jpg deleted file mode 100644 index cc62e6ab3..000000000 Binary files a/public/backgrounds/kingdom.jpg and /dev/null differ diff --git a/public/backgrounds/market.jpg b/public/backgrounds/market.jpg deleted file mode 100644 index e8d443132..000000000 Binary files a/public/backgrounds/market.jpg and /dev/null differ diff --git a/public/backgrounds/noble1.jpg b/public/backgrounds/noble1.jpg deleted file mode 100644 index d21139ac4..000000000 Binary files a/public/backgrounds/noble1.jpg and /dev/null differ diff --git a/public/backgrounds/noble2.jpg b/public/backgrounds/noble2.jpg deleted file mode 100644 index b88da45a5..000000000 Binary files a/public/backgrounds/noble2.jpg and /dev/null differ diff --git a/public/backgrounds/outdoor.jpg b/public/backgrounds/outdoor.jpg deleted file mode 100644 index 360bca62b..000000000 Binary files a/public/backgrounds/outdoor.jpg and /dev/null differ diff --git a/public/backgrounds/smokycity.jpg b/public/backgrounds/smokycity.jpg deleted file mode 100644 index d2ab9bf95..000000000 Binary files a/public/backgrounds/smokycity.jpg and /dev/null differ diff --git a/public/backgrounds/tavern.jpg b/public/backgrounds/tavern.jpg deleted file mode 100644 index 5d5babf28..000000000 Binary files a/public/backgrounds/tavern.jpg and /dev/null differ diff --git a/public/backgrounds/theredlake.jpg b/public/backgrounds/theredlake.jpg deleted file mode 100644 index d3a63edbe..000000000 Binary files a/public/backgrounds/theredlake.jpg and /dev/null differ diff --git a/public/backgrounds/warmtown.jpg b/public/backgrounds/warmtown.jpg deleted file mode 100644 index f92b98edf..000000000 Binary files a/public/backgrounds/warmtown.jpg and /dev/null differ diff --git a/public/backgrounds/whitesnow.jpg b/public/backgrounds/whitesnow.jpg deleted file mode 100644 index 0d9db43cc..000000000 Binary files a/public/backgrounds/whitesnow.jpg and /dev/null differ diff --git a/public/index.html b/public/index.html index 3a58fb98c..50e1db2a6 100644 --- a/public/index.html +++ b/public/index.html @@ -56,355 +56,423 @@
- +
-
+
-
- -
-
-
-
- -
-
-
-
-
- -
-
-
-
-
-
-

API

- -
-
-
-

API url

-
Example: http://127.0.0.1:5000/api
- - - -
-
-
Not connected
-
+
+ +
+
+
+ + -
-

Kobold Presets - - ? - -

- -
- +
+
+ +
+
+
+
+
+
+

API

+ +
+
+
+

API url

+
Example: http://127.0.0.1:5000/api
+ + + +
+
+
Not connected
+
+
+
+

Kobold Presets + ? -

-
- Preset settings - - ? -
- +
-
-
- -
-
-
+ -
-

User Settings

-

Your Avatar

-
-
+
+ - -
-
-
+
+ +
+
+
+
+
+

User Settings

+

Your Avatar

+
+
+
-
-
-
-
-
-
-
- Amount generation -
- select - +
+ +
+
+
+

Name

+
+ +
+
+

Power User Options

+
+ + + + + +
+
+
+
+ +
+
+
+
+
+
+
+
+
+
+
+ Amount generation
-
-
- Context Size -
- select - + select + +
+
+
+ Context Size +
+ select + +
+
+
+
+
+
+
+ Temperature +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Range +
+
+ select +
+
+
-
-
- -
-
- Temperature -
-
- select -
-
- -
-
-
-
- Repetition Penalty -
-
- select -
-
- -
-
-
-
- Repetition Penalty Range -
-
- select -
-
- -
-
-
-
+
+
Temperature +
+
select +
+
+
+
Repetition Penalty +
+
select +
+
- Repetition Penalty Range +
+
+ Repetition Penalty Range + +
select +
+
-
- Temperature - select - - Repetition Penalty - select - - Repetition Penalty Range - select - -
-
- Anchors Order - ? -
- -
- - +
+
+
+ Temperature +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Range +
+
+ select +
+
+ +
-
-
-
-
- -
-
- Top P Sampling -
-
- select -
-
- -
+
+ Anchors Order + + ? + +
+ +
+ + +
+
+
+
+
+
+
+
+
+ Top P Sampling
-
-
- Top A Sampling -
-
- select -
-
- -
+
+ select
-
-
- Top K Sampling -
-
- select -
-
- -
+
+
-
-
- Typical Sampling -
-
- select -
-
- -
+
+
+
+ Top A Sampling
-
-
- Tail Free Sampling -
-
- select -
-
- -
+
+ select
-
-
- Repetition Penalty Slope -
-
- select -
-
- -
+
+ +
+
+
+
+ Top K Sampling +
+
+ select +
+
+ +
+
+
+
+ Typical Sampling +
+
+ select +
+
+ +
+
+
+
+ Tail Free Sampling +
+
+ select +
+
+ +
+
+
+
+ Repetition Penalty Slope +
+
+ select +
+
+
-
+
+
+ ***COMING SOON*** - -
-
- - -
-

Advanced Settings

+
+
+
+
Top K - select +
+
+ select +
+
- Top P - select - - Typical P - select - -

Penalty Alpha - select - +

+
+
+ Top P +
+
+ select +
+
+ +
+
+
+
+ Typical P +
+
+ select +
+
+ +
+
+
+
+ Penalty Alpha +
+
+ select +
+
+ +
@@ -412,13 +480,14 @@
- -
-
-
-
-
-
+
+ +
+
+
+
+
+

World Info

@@ -430,11 +499,9 @@
-

How to use ?

+

How to use ?

@@ -444,61 +511,66 @@

- Scan Depth ? + Scan Depth ?

depth

- Token Budget ? + Token Budget ?

budget
-
-
-

Soft Prompt

-
About soft prompts ?
- -
+
+
+

Soft Prompt

+
About soft prompts ?
+
- -
-
-
-
-
-
-

Extensions API: TavernAI-extras

- -
- - - -
-
Not connected
-
-

Active extensions

-
    -
-

Missing something? Press here for more details!

-
-
-

Extension settings

-
-
-
-
-
- + +
+
+
+
+
+
+

Extensions API: + + TavernAI-extras + +

+ +
+ + + +
+
+ Not connected +
+
+

Active extensions

+
    +
+

Missing something? Press here for more details!

+
+
+

Extension settings

+
+
+
+
+ +
+
@@ -529,32 +601,30 @@
- +

Personality summary

-
A brief description of the personality ?
- +
A brief description of the personality ?
+

Scenario

-
Circumstances and context of the dialogue ?
- +
Circumstances and context of the dialogue + + ? + +
+

Talkativeness

How often the chracter speaks in  group chats!
- +
Shy Normal @@ -565,8 +635,7 @@

Examples of dialogue

-
Forms a personality more clearly ?
+
Forms a personality more clearly ?
@@ -584,10 +653,8 @@ (?)
 
-
- + +
@@ -695,15 +762,11 @@
?
-
@@ -717,12 +780,12 @@
- +
- TavernAI is being developed with love and care on a voluntary basis. If you like the project and + TavernAI is being developed with love and care on a voluntary basis. If you like + the project and want to support it, your donation would make a huge impact! Thank you!
@@ -737,19 +800,13 @@
- + - +
@@ -944,7 +995,7 @@
${bias}
-
+
@@ -971,7 +1022,7 @@
- +
CHAR is typing
@@ -1007,16 +1058,13 @@
-
-
- \ No newline at end of file diff --git a/public/style.css b/public/style.css index 58c5914c5..dcc77526e 100644 --- a/public/style.css +++ b/public/style.css @@ -18,6 +18,8 @@ --grey50: rgb(125, 125, 125); --grey70: rgb(175, 175, 175); + --grey30a: rgba(50,50,50,0.3); // dark grey transparent for #chat and #send_form so their borders stand out on dark BGs + --fullred: rgba(255, 0, 0, 1); --crimson70a: rgba(100, 0, 0, 0.7); --cobalt30a: rgba(100, 100, 255, 0.3); @@ -133,7 +135,7 @@ code { position: absolute; width: 100%; height: 100%; - z-index: -2; + z-index: 0; } #bg2 { @@ -146,7 +148,7 @@ code { position: absolute; width: 100%; height: 100%; - z-index: -1; + z-index: 1; } /*TOPPER margin*/ @@ -172,13 +174,14 @@ code { display: grid; grid-template-rows: auto min-content; height: calc(100svh - 40px); - - /*overflow: auto;*/ overflow-x: hidden; - /*overflow-y: hidden;*/ max-width: 800px; - margin-left: auto; - margin-right: auto; + position: absolute; + left: 0; + right: 0; + top: 35px; + margin: 0 auto; + z-index: 2; } @@ -189,16 +192,17 @@ margin-top:5px; overflow-y: scroll; display: flex; bottom: 10px; - border-bottom: 1px solid var(--black30a); - border-left: 1px solid var(--black30a); - border-right: 1px solid var(--black30a); + border-bottom: 1px solid var(--grey50a); + border-left: 1px solid var(--grey50a); + border-right: 1px solid var(--grey50a); backdrop-filter: blur(20px); background-color: var(--black70a); - -webkit-backdrop-filter: blur(20px); + -webkit-backdrop-filter: blur(10px); text-shadow: #000 0 0 3px; scrollbar-width: thin; transition: all 1s ease-in-out; flex-direction: column; + z-index: 3; /*old style top to bottom flow*/ /* overflow-x: hidden; @@ -228,7 +232,7 @@ margin-top:5px; grid-template-columns: 40px auto 40px; width: 100%; margin: 0 auto 0 auto; - border: 1px solid var(--black30a); + border: 1px solid var(--grey50a); border-radius: 0 0 20px 20px; background-color: var(--crimson70a); @@ -1881,6 +1885,7 @@ input[type="range"]{ margin-right: auto; left: 0; right: 0; + top: 40px; box-shadow: 0 0 20px var(--black70a); padding-left: 30px; padding-right: 30px; @@ -2676,8 +2681,7 @@ label[for="extensions_autoconnect"] { padding-top: 5px; /* right: auto; */ height: 35px; - min-width: 20vw; - max-width: 700px; + width: 800px; color: white; justify-content: space-around; display: grid; @@ -2793,16 +2797,20 @@ label[for="extensions_autoconnect"] { } #top-settings-holder{ - max-width:70vw; + width:70vw; + position: fixed; + right: 0; + left: 0; } #bg1, #bg2 {position:fixed;} #sheld, #character_popup, #world_popup, #right-nav-panel { /*margin around the sides, and a larger one on bottom to avoid iOS Home bar*/ - height: calc(100svh - 55px); + height: calc(100svh - 15px); width: calc(100vw - 10px); margin: 0 auto; margin-left: 5px; position: fixed; + } .mes-text {padding-right: 25px;} diff --git a/server.js b/server.js index 05035c07c..a65202114 100644 --- a/server.js +++ b/server.js @@ -956,9 +956,11 @@ function getCharacterFile(directories, response, i) { //old need del } } function getImages(path) { - return fs.readdirSync(path).sort(function (a, b) { - return new Date(fs.statSync(path + '/' + a).mtime) - new Date(fs.statSync(path + '/' + b).mtime); - }).reverse(); + return fs.readdirSync(path).sort(Intl.Collator().compare); + + /* return fs.readdirSync(path).sort(function (a, b) { + return new Date(fs.statSync(path + '/' + a).mtime) - new Date(fs.statSync(path + '/' + b).mtime); + }).reverse(); */ } function getKoboldSettingFiles(path) { return fs.readdirSync(path).sort(function (a, b) {