mirror of
https://github.com/gradio-app/gradio.git
synced 2025-03-31 12:20:26 +08:00
Adjust Value to Fix .Label Display (#7276)
* Bug fix * add changeset * format --------- Co-authored-by: Abubakar Abid <abubakar@huggingface.co> Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
757dba66ba
commit
a3aa22f6f0
6
.changeset/fruity-rabbits-retire.md
Normal file
6
.changeset/fruity-rabbits-retire.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/label": patch
|
||||
"gradio": patch
|
||||
---
|
||||
|
||||
fix:Adjust Value to Fix .Label Display
|
@ -42,7 +42,7 @@
|
||||
style="width: {confidence_set.confidence *
|
||||
100}%; background: var(--stat-background-fill);
|
||||
"
|
||||
value={confidence_set.confidence * 100}
|
||||
value="100"
|
||||
aria-label={Math.round(confidence_set.confidence * 100) + "%"}
|
||||
/>
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user