From 8efe0b6437a47e75b423030b8ec854e2f3121984 Mon Sep 17 00:00:00 2001 From: Cohee <18619528+Cohee1207@users.noreply.github.com> Date: Fri, 20 Sep 2024 22:42:56 +0300 Subject: [PATCH] Add Min P for Novel --- default/content/presets/novel/Asper-Kayra.json | 3 ++- .../content/presets/novel/Blended-Coffee-Kayra.json | 3 ++- default/content/presets/novel/Blook-Kayra.json | 3 ++- default/content/presets/novel/Carefree-Kayra.json | 3 ++- default/content/presets/novel/CosmicCube-Kayra.json | 3 ++- default/content/presets/novel/Edgewise-Clio.json | 3 ++- .../content/presets/novel/Fresh-Coffee-Clio.json | 3 ++- .../content/presets/novel/Fresh-Coffee-Kayra.json | 3 ++- .../presets/novel/Green-Active-Writer-Kayra.json | 3 ++- default/content/presets/novel/Keelback-Clio.json | 3 ++- default/content/presets/novel/Long-Press-Clio.json | 3 ++- default/content/presets/novel/Pilotfish-Kayra.json | 3 ++- default/content/presets/novel/Pro_Writer-Kayra.json | 3 ++- default/content/presets/novel/Stelenes-Kayra.json | 3 ++- default/content/presets/novel/Talker-Chat-Clio.json | 3 ++- default/content/presets/novel/Tea_Time-Kayra.json | 3 ++- default/content/presets/novel/Tesseract-Kayra.json | 3 ++- default/content/presets/novel/Vingt-Un-Clio.json | 3 ++- .../content/presets/novel/Writers-Daemon-Kayra.json | 3 ++- public/index.html | 13 +++++++++++++ public/scripts/nai-settings.js | 12 ++++++++++++ src/endpoints/novelai.js | 1 + 22 files changed, 64 insertions(+), 19 deletions(-) diff --git a/default/content/presets/novel/Asper-Kayra.json b/default/content/presets/novel/Asper-Kayra.json index c611949cc..8c0817c81 100644 --- a/default/content/presets/novel/Asper-Kayra.json +++ b/default/content/presets/novel/Asper-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "medium", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Blended-Coffee-Kayra.json b/default/content/presets/novel/Blended-Coffee-Kayra.json index 62dad3a4d..1b0b0e144 100644 --- a/default/content/presets/novel/Blended-Coffee-Kayra.json +++ b/default/content/presets/novel/Blended-Coffee-Kayra.json @@ -15,5 +15,6 @@ "prefix": "vanilla", "phrase_rep_pen": "medium", "cfg_scale": 1.55, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Blook-Kayra.json b/default/content/presets/novel/Blook-Kayra.json index 87d845a1a..9710d5544 100644 --- a/default/content/presets/novel/Blook-Kayra.json +++ b/default/content/presets/novel/Blook-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "phrase_rep_pen": "very_aggressive", "cfg_scale": 1.3, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Carefree-Kayra.json b/default/content/presets/novel/Carefree-Kayra.json index 28e75a371..b8626d72d 100644 --- a/default/content/presets/novel/Carefree-Kayra.json +++ b/default/content/presets/novel/Carefree-Kayra.json @@ -17,5 +17,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "aggressive", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/CosmicCube-Kayra.json b/default/content/presets/novel/CosmicCube-Kayra.json index ae95c4f97..48fbf3dc6 100644 --- a/default/content/presets/novel/CosmicCube-Kayra.json +++ b/default/content/presets/novel/CosmicCube-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "phrase_rep_pen": "off", "cfg_scale": 1.48, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Edgewise-Clio.json b/default/content/presets/novel/Edgewise-Clio.json index 77ecaef71..f5961bf64 100644 --- a/default/content/presets/novel/Edgewise-Clio.json +++ b/default/content/presets/novel/Edgewise-Clio.json @@ -17,5 +17,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Fresh-Coffee-Clio.json b/default/content/presets/novel/Fresh-Coffee-Clio.json index ad520adfb..3517b7010 100644 --- a/default/content/presets/novel/Fresh-Coffee-Clio.json +++ b/default/content/presets/novel/Fresh-Coffee-Clio.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Fresh-Coffee-Kayra.json b/default/content/presets/novel/Fresh-Coffee-Kayra.json index 383fcba1c..a7583f5bc 100644 --- a/default/content/presets/novel/Fresh-Coffee-Kayra.json +++ b/default/content/presets/novel/Fresh-Coffee-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "off", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Green-Active-Writer-Kayra.json b/default/content/presets/novel/Green-Active-Writer-Kayra.json index 73b18a087..d096c1845 100644 --- a/default/content/presets/novel/Green-Active-Writer-Kayra.json +++ b/default/content/presets/novel/Green-Active-Writer-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "phrase_rep_pen": "very_aggressive", "cfg_scale": 1.4, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Keelback-Clio.json b/default/content/presets/novel/Keelback-Clio.json index 9412a116b..bd14f3b4d 100644 --- a/default/content/presets/novel/Keelback-Clio.json +++ b/default/content/presets/novel/Keelback-Clio.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Long-Press-Clio.json b/default/content/presets/novel/Long-Press-Clio.json index c978924b3..a14fe81b1 100644 --- a/default/content/presets/novel/Long-Press-Clio.json +++ b/default/content/presets/novel/Long-Press-Clio.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Pilotfish-Kayra.json b/default/content/presets/novel/Pilotfish-Kayra.json index 4a8d06ac2..9e8029d86 100644 --- a/default/content/presets/novel/Pilotfish-Kayra.json +++ b/default/content/presets/novel/Pilotfish-Kayra.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "phrase_rep_pen": "medium", "cfg_scale": 1.35, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Pro_Writer-Kayra.json b/default/content/presets/novel/Pro_Writer-Kayra.json index a020d462b..eba7bab73 100644 --- a/default/content/presets/novel/Pro_Writer-Kayra.json +++ b/default/content/presets/novel/Pro_Writer-Kayra.json @@ -16,5 +16,6 @@ "prefix": "vanilla", "phrase_rep_pen": "medium", "cfg_scale": 1.0, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Stelenes-Kayra.json b/default/content/presets/novel/Stelenes-Kayra.json index dae13cecd..ae67941cf 100644 --- a/default/content/presets/novel/Stelenes-Kayra.json +++ b/default/content/presets/novel/Stelenes-Kayra.json @@ -13,5 +13,6 @@ "return_full_text": false, "prefix": "vanilla", "phrase_rep_pen": "medium", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Talker-Chat-Clio.json b/default/content/presets/novel/Talker-Chat-Clio.json index 136845554..677a2b838 100644 --- a/default/content/presets/novel/Talker-Chat-Clio.json +++ b/default/content/presets/novel/Talker-Chat-Clio.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Tea_Time-Kayra.json b/default/content/presets/novel/Tea_Time-Kayra.json index af57676ce..abd1d63ba 100644 --- a/default/content/presets/novel/Tea_Time-Kayra.json +++ b/default/content/presets/novel/Tea_Time-Kayra.json @@ -15,5 +15,6 @@ "prefix": "vanilla", "phrase_rep_pen": "aggressive", "cfg_scale": 1.0, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Tesseract-Kayra.json b/default/content/presets/novel/Tesseract-Kayra.json index 919461937..808e4eaf0 100644 --- a/default/content/presets/novel/Tesseract-Kayra.json +++ b/default/content/presets/novel/Tesseract-Kayra.json @@ -14,5 +14,6 @@ "prefix": "vanilla", "phrase_rep_pen": "aggressive", "cfg_scale": 1.3, - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Vingt-Un-Clio.json b/default/content/presets/novel/Vingt-Un-Clio.json index 296b8c564..6251c8aa3 100644 --- a/default/content/presets/novel/Vingt-Un-Clio.json +++ b/default/content/presets/novel/Vingt-Un-Clio.json @@ -18,5 +18,6 @@ "prefix": "vanilla", "cfg_scale": 1, "phrase_rep_pen": "very_light", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/default/content/presets/novel/Writers-Daemon-Kayra.json b/default/content/presets/novel/Writers-Daemon-Kayra.json index 8ae98884c..ca1402fcc 100644 --- a/default/content/presets/novel/Writers-Daemon-Kayra.json +++ b/default/content/presets/novel/Writers-Daemon-Kayra.json @@ -17,5 +17,6 @@ "return_full_text": false, "prefix": "vanilla", "phrase_rep_pen": "very_aggressive", - "max_context": 7800 + "max_context": 7800, + "min_p": 0 } diff --git a/public/index.html b/public/index.html index 64659cc82..3f10e64f5 100644 --- a/public/index.html +++ b/public/index.html @@ -323,6 +323,19 @@ +