diff --git a/public/index.html b/public/index.html index f70458b0d..985dd0451 100644 --- a/public/index.html +++ b/public/index.html @@ -234,11 +234,10 @@
- +
- - +
diff --git a/public/scripts/power-user.js b/public/scripts/power-user.js index b18168803..b197d59a0 100644 --- a/public/scripts/power-user.js +++ b/public/scripts/power-user.js @@ -46,8 +46,9 @@ export { export const MAX_CONTEXT_DEFAULT = 8192; const MAX_CONTEXT_UNLOCKED = 65536; -const unlockedMaxContextStep = 1024 -const unlockedMaxContestMin = 8192 +const unlockedMaxContextStep = 256; +const maxContextMin = 512; +const maxContextStep = 64; const defaultStoryString = "{{#if system}}{{system}}\n{{/if}}{{#if description}}{{description}}\n{{/if}}{{#if personality}}{{char}}'s personality: {{personality}}\n{{/if}}{{#if scenario}}Scenario: {{scenario}}\n{{/if}}{{#if persona}}{{persona}}\n{{/if}}"; const defaultExampleSeparator = '***'; @@ -1087,8 +1088,8 @@ function loadMaxContextUnlocked() { function switchMaxContextSize() { const elements = [$('#max_context'), $('#rep_pen_range'), $('#rep_pen_range_textgenerationwebui')]; const maxValue = power_user.max_context_unlocked ? MAX_CONTEXT_UNLOCKED : MAX_CONTEXT_DEFAULT; - const minValue = power_user.max_context_unlocked ? 0 : 0; - const steps = power_user.max_context_unlocked ? unlockedMaxContextStep : 256; + const minValue = power_user.max_context_unlocked ? maxContextMin : maxContextMin; + const steps = power_user.max_context_unlocked ? unlockedMaxContextStep : maxContextStep; for (const element of elements) { element.attr('max', maxValue);