Merge branch 'master' of github.com:abidlabs/gradiome

This commit is contained in:
Abubakar Abid 2019-04-19 03:30:02 -07:00
commit e2e1c90229

View File

@ -19,7 +19,7 @@ const label_output = {
let confidence = Math.round(c["confidence"] * 100) + "%";
this.target.find(".labels").append(`<div class="label" title="${label}">${label}</div>`);
this.target.find(".confidences").append(`
<div class="confidence" style="min-width: ${confidence}" title="${confidence}">${confidence}</div>`);
<div class="confidence" style="min-width: calc(${confidence} - 12px);" title="${confidence}">${confidence}</div>`);
}
}
},