Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
syui committed Nov 3, 2023
1 parent 023d57c commit ef81fc2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,9 +190,9 @@ function status_load(){
let html_model_c = document.getElementById('btn-models_c') as HTMLInputElement | null
let html_model_d = document.getElementById('btn-models_d') as HTMLInputElement | null

if (res.data.model === true){
model_load();
}
//if (res.data.model === true){
// model_load();
//}

if (res.data.model === false && html_menu != null){
html_menu.insertAdjacentHTML('afterbegin', "<li>model : " + res.data.model + "</li>");
Expand Down Expand Up @@ -228,6 +228,7 @@ function status_load(){

if (model_url !== null) {
status_load();
model_load();
}

function getModels(a?:string){
Expand Down

0 comments on commit ef81fc2

Please sign in to comment.