This commit is contained in:
Henk 2022-08-06 16:42:15 +02:00
parent 8bcf4187ac
commit 0a0bd75617
3 changed files with 4 additions and 5 deletions

View File

@ -266,7 +266,7 @@ gensettingstf = [
{
"uitype": "toggle",
"unit": "bool",
"label": "Show Token Probabilities",
"label": "Probability Viewer",
"id": "setshowprobs",
"min": 0,
"max": 1,

View File

@ -1692,6 +1692,6 @@ body.connected .popupfooter, .popupfooter.always-available {
}
#token_prob_container {
overflow-x: scroll;
overflow-x: auto;
white-space: nowrap;
}

View File

@ -43,7 +43,6 @@
<a class="nav-link dropdown-toggle" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">AI</a>
<div class="dropdown-menu">
<a class="dropdown-item" href="#" id="btn_loadmodel">Load Model</a>
<a class="dropdown-item" href="#" id="btn_showmodel">Model Info</a>
</div>
</li>
{% endif %}
@ -448,10 +447,10 @@
<div class="popuptitletext">Model Info</div>
</div>
<div id=showmodelnamecontent style="width:50%;">
Read Only
Model Info Missing
</div>
<div class="popupfooter" style="width:50% center;">
<button type="button" class="btn btn-primary" onclick='$("#showmodelnamecontainer").addClass("hidden");'>OK</button>
</div>
</div>
</div>