Chronos: Fix the installation panel display error (#6767)
* try fix * try fix again
This commit is contained in:
parent
bf5ccae4ef
commit
d25d67d3d7
1 changed files with 7 additions and 8 deletions
|
|
@ -71,14 +71,6 @@ function refresh_cmd(){
|
|||
enable(ais);
|
||||
}
|
||||
|
||||
if(version!="nightly"){
|
||||
disable(inferences);
|
||||
}
|
||||
else{
|
||||
enable(inferences);
|
||||
}
|
||||
|
||||
|
||||
//disable other buttons in cases
|
||||
if(package=="docker"){
|
||||
disable(functionalities);
|
||||
|
|
@ -100,6 +92,13 @@ function refresh_cmd(){
|
|||
enable(hardwares);
|
||||
enable(automls);
|
||||
|
||||
if(version!="nightly"){
|
||||
disable(inferences);
|
||||
}
|
||||
else{
|
||||
enable(inferences);
|
||||
}
|
||||
|
||||
//change cmd according to different choices
|
||||
if(model=="Deep_learning_models"){
|
||||
if(ai=="pytorch"){
|
||||
|
|
|
|||
Loading…
Reference in a new issue