mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-02-17 04:00:44 +01:00
Fixed all option for Cluster model selection
This commit is contained in:
parent
24ac6f3db8
commit
6258963e39
@ -2914,6 +2914,7 @@ $(document).ready(function(){
|
||||
} else if(msg.cmd == 'selected_model_info') {
|
||||
enableButtons([load_model_accept]);
|
||||
$("#oaimodel").addClass("hidden")
|
||||
$("#oaimodel")[0].options[0].selected = true;
|
||||
if (msg.key) {
|
||||
$("#modelkey").removeClass("hidden");
|
||||
$("#modelkey")[0].value = msg.key_value;
|
||||
@ -2931,9 +2932,10 @@ $(document).ready(function(){
|
||||
console.log(msg.multi_online_models);
|
||||
if (msg.multi_online_models) {
|
||||
$("#oaimodel")[0].setAttribute("multiple", "");
|
||||
console.log($("#oaimodel")[0])
|
||||
$("#oaimodel")[0].options[0].textContent = "All"
|
||||
} else {
|
||||
$("#oaimodel")[0].removeAttribute("multiple");
|
||||
$("#oaimodel")[0].options[0].textContent = "Select Model(s)"
|
||||
}
|
||||
|
||||
|
||||
|
@ -300,7 +300,7 @@
|
||||
<input class="form-control hidden" type="text" placeholder="Model Path or Hugging Face Name" id="custommodelname" menu="" onblur="socket.send({'cmd': 'selectmodel', 'data': $(this).attr('menu'), 'path_modelname': $('#custommodelname')[0].value});">
|
||||
</div>
|
||||
<div class="popupfooter">
|
||||
<select class="form-control hidden" id="oaimodel"></select>
|
||||
<select class="form-control hidden" id="oaimodel"><option value="">Select Model(s)</option></select>
|
||||
</div>
|
||||
<div class="popupfooter hidden" id=modellayers>
|
||||
<div class='settingitem' style="width:100%">
|
||||
|
Loading…
x
Reference in New Issue
Block a user