mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-03-01 18:37:41 +01:00
Token counter layout adjust
This commit is contained in:
parent
13d8ec5768
commit
fd9c8b86e9
@ -22,7 +22,7 @@ async function doTokenCounter() {
|
|||||||
<div class="justifyLeft">
|
<div class="justifyLeft">
|
||||||
<h4>Type / paste in the box below to see the number of tokens in the text.</h4>
|
<h4>Type / paste in the box below to see the number of tokens in the text.</h4>
|
||||||
<p>Selected tokenizer: ${selectedTokenizer}</p>
|
<p>Selected tokenizer: ${selectedTokenizer}</p>
|
||||||
<textarea id="token_counter_textarea" class="wide100p textarea_compact margin-bot-10px" rows="20"></textarea>
|
<textarea id="token_counter_textarea" class="wide100p textarea_compact margin-bot-10px" rows="15"></textarea>
|
||||||
<div>Tokens: <span id="token_counter_result">0</span></div>
|
<div>Tokens: <span id="token_counter_result">0</span></div>
|
||||||
<br>
|
<br>
|
||||||
<div>Token IDs (if applicable):</div>
|
<div>Token IDs (if applicable):</div>
|
||||||
@ -47,7 +47,7 @@ async function doTokenCounter() {
|
|||||||
});
|
});
|
||||||
|
|
||||||
$('#dialogue_popup').addClass('wide_dialogue_popup');
|
$('#dialogue_popup').addClass('wide_dialogue_popup');
|
||||||
callPopup(dialog, 'text');
|
callPopup(dialog, 'text', '', { wide: true, large: true });
|
||||||
}
|
}
|
||||||
|
|
||||||
function doCount() {
|
function doCount() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user