Increase default avatar size 400x600 => 512x768

This commit is contained in:
Cohee
2024-04-14 17:36:48 +03:00
parent 33c6f34f6c
commit 9cb777a4e9
2 changed files with 3 additions and 3 deletions

View File

@ -3833,7 +3833,7 @@
<input id="prefer_character_jailbreak" type="checkbox" /> <input id="prefer_character_jailbreak" type="checkbox" />
<span data-i18n="Prefer Character Card Jailbreak">Prefer Char. Jailbreak</span> <span data-i18n="Prefer Character Card Jailbreak">Prefer Char. Jailbreak</span>
</label> </label>
<label data-newbie-hidden class="checkbox_label" for="never_resize_avatars" title="Avoid cropping and resizing imported character images. When off, crop/resize to 400x600." data-i18n="[title]Avoid cropping and resizing imported character images. When off, crop/resize to 400x600"> <label data-newbie-hidden class="checkbox_label" for="never_resize_avatars" title="Avoid cropping and resizing imported character images. When off, crop/resize to 512x768." data-i18n="[title]Avoid cropping and resizing imported character images. When off, crop/resize to 512x768">
<input id="never_resize_avatars" type="checkbox" /> <input id="never_resize_avatars" type="checkbox" />
<span data-i18n="Never resize avatars">Never resize avatars</span> <span data-i18n="Never resize avatars">Never resize avatars</span>
</label> </label>

View File

@ -243,8 +243,8 @@ const OLLAMA_KEYS = [
'mirostat_eta', 'mirostat_eta',
]; ];
const AVATAR_WIDTH = 400; const AVATAR_WIDTH = 512;
const AVATAR_HEIGHT = 600; const AVATAR_HEIGHT = 768;
const OPENROUTER_HEADERS = { const OPENROUTER_HEADERS = {
'HTTP-Referer': 'https://sillytavern.app', 'HTTP-Referer': 'https://sillytavern.app',