Chronos: Fix the installation panel display error (#6767)

* try fix

* try fix again
This commit is contained in:
liangs6212 2022-11-25 17:13:53 +08:00 committed by GitHub
parent bf5ccae4ef
commit d25d67d3d7

View file

@ -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"){