This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
Repositories
Datasets
Forum
实训
竞赛
大数据
应用
Register
Sign In
OpenI
/
aiforge
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
128
Wiki
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
Browse Source
fix issue
pull/3418/head
zhoupzh
2 years ago
parent
6b6134f84d
commit
0d7a7c3ac8
2 changed files
with
6 additions
and
15 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-11
templates/repo/grampus/notebook/show.tmpl
+5
-4
web_src/js/standalone/cloudbrainNew.js
+ 1
- 11
templates/repo/grampus/notebook/show.tmpl
View File
@@ -298,17 +298,7 @@
</div>
</td>
</tr>
<tr class="ti-no-ng-animate">
<td class="ti-no-ng-animate ti-text-form-label text-width80">
{{$.i18n.Tr "cloudbrain.output_storage_path"}}
</td>
<td class="ti-text-form-content">
<div class="text-span text-span-w" id="model_storage_path">
{{$.model_path}}
</div>
</td>
</tr>
{{end}}
{{if eq .ComputeResource "NPU"}}
+ 5
- 4
web_src/js/standalone/cloudbrainNew.js
View File
@@ -115,10 +115,7 @@
},
onSuccess: function () {
// $('.ui.page.dimmer').dimmer('show')
if($('input[name="model_name"]').val() && !$('input[name="ckpt_name"]').val()){
$('input[name="ckpt_name"]').parent().addClass("error")
return false
}
document.getElementById("mask").style.display = "block";
isValidate = true;
},
@@ -176,6 +173,10 @@
if (!paramNotValue) {
return false;
}
if($('input[name="model_name"]').val() && !$('input[name="ckpt_name"]').val()){
$('input[name="ckpt_name"]').parent().addClass("error")
return false
}
validate();
});
})();
Write
Preview
Loading…
Cancel
Save