Issue with bbox colors

#2
by kcoda361 - opened

Using the example with the Object annotation tab I am able to make the first label any color I wish and it defaults to the first color in the label_colors list. However when add a second label I am unable to make it any other color besides the first color in the label_colors list. I suspect something is broken with color selection, although I am not sure why it behaves differently on the gradio webiste example.

Owner

Hi @kcoda361 , what version of Gradio are you using?

gradio==4.26.0

Should I be using something else?

Owner

It seems that version 4.26.0 broke something in the color selection.
I'll take a look but in the meantime with gradio<=4.25.0 it should work fine.

edgargg changed discussion status to closed

Sign up or log in to comment