|
|
@@ -323,7 +323,7 @@ |
|
|
|
$('#choice_Engine .default.text').text(selectedText) |
|
|
|
$('#choice_Engine input[name="Engine"]').val(selectedValue) |
|
|
|
$("#job-Engine").append(itemHtml); |
|
|
|
$("#choice_Engine").attr('disabled','disabled') |
|
|
|
$("#choice_Engine").addClass('disabled') |
|
|
|
}else{ |
|
|
|
let itemHtml = "<option class=\"active item\" data-value=\"0\">Pytorch</option>"; |
|
|
|
itemHtml += "<option class=\"item\" data-value=\"1\">TensorFlow</option>" |
|
|
@@ -332,7 +332,7 @@ |
|
|
|
$('#choice_Engine .default.text').text("Pytorch"); |
|
|
|
$('#choice_Engine input[name="Engine"]').val(0) |
|
|
|
$("#job-Engine").append(itemHtml); |
|
|
|
$("#choice_Engine").removeAttr('disabled'); |
|
|
|
$("#choice_Engine").removeClass('disabled'); |
|
|
|
} |
|
|
|
} |
|
|
|
</script> |
|
|
|