Fix secondary hue bug in gr.themes.builder() (#5660)

* fix: builder_app.py

* add changeset

* add changeset

---------

Co-authored-by: Freddy Boulton <alfonsoboulton@gmail.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
Freckles 2023-09-22 22:46:09 +08:00 committed by GitHub
parent 75ddeb390d
commit d76555a122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 1 deletions

View File

@ -0,0 +1,5 @@
---
"gradio": minor
---
feat:Fix secondary hue bug in gr.themes.builder()

View File

@ -878,7 +878,7 @@ with gr.Blocks(theme=theme) as demo:
)
attach_rerender(
secondary_hue.select(
load_color, secondary_hue, secondary_hue, api_name=False
load_color, secondary_hue, secondary_hues, api_name=False
).then
)
attach_rerender(