Closed halleewong closed 2 hours ago
I also meet this problem
please fix the bug, I aslo meet
I think there is a problem with updating or selecting colors. You can check it after here . Repeatedly selects the first color as the default one when called.
The problem seems to start at 4.39.0. 4.38.1 works correctly. Perhaps something related to #8802?
I am getting an error when I use the gradio version 4.38.1 which is related with pydantic:
pydantic.errors.PydanticSchemaGenerationError: Unable to generate pydantic-core schema for <class 'starlette.requests.Request'>. Set arbitrary_types_allowed=True in the model_config to ignore this error or implement __get_pydantic_core_schema__ on your type to fully support it
Same problem here.
Falling back to 4.38.1 fixed this problem.
+1 you can observe the behavior on the gradio playground
Describe the bug
Changing brush colors does not work when specifying custom brush colors. Tried setting the brush
color_mode
tofixed
ordefaults
and it doesn't make any difference.Have you searched existing issues? 🔎
Reproduction
Screenshot
The palette shows both colors but when I click on the second color it doesn't change the brush color
https://github.com/user-attachments/assets/bcac9054-a013-44c7-8482-9ad880eb3a14
Logs
No response
System Info
Severity
Blocking usage of gradio