gradio-pr-bot commited on
Commit
1cdc67f
·
verified ·
1 Parent(s): cd2975c

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. 6.23.0/annotatedimage/Index.svelte +5 -5
6.23.0/annotatedimage/Index.svelte CHANGED
@@ -113,11 +113,11 @@
113
  : `hsla(${Math.round(
114
  (i * 360) / gradio.props.value.annotations.length
115
  )}, 100%, 50%, 0.3)`}"
116
- on:mouseover={() => handle_mouseover(ann.label)}
117
- on:focus={() => handle_mouseover(ann.label)}
118
- on:mouseout={() => handle_mouseout()}
119
- on:blur={() => handle_mouseout()}
120
- on:click={() => handle_click(i, ann.label)}
121
  >
122
  {ann.label}
123
  </button>
 
113
  : `hsla(${Math.round(
114
  (i * 360) / gradio.props.value.annotations.length
115
  )}, 100%, 50%, 0.3)`}"
116
+ onmouseover={() => handle_mouseover(ann.label)}
117
+ onfocus={() => handle_mouseover(ann.label)}
118
+ onmouseout={() => handle_mouseout()}
119
+ onblur={() => handle_mouseout()}
120
+ onclick={() => handle_click(i, ann.label)}
121
  >
122
  {ann.label}
123
  </button>