mirror of
https://github.com/gradio-app/gradio.git
synced 2025-01-24 10:54:04 +08:00
Merge branch 'master' of github.com:abidlabs/gradiome
This commit is contained in:
commit
e2e1c90229
@ -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>`);
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user