mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
Update components.py (#1873)
This commit is contained in:
parent
026e6cab55
commit
5988aa758c
@ -2894,7 +2894,7 @@ class ColorPicker(Changeable, Submittable, IOComponent):
|
||||
Preprocessing: passes selected color value as a {str} into the function.
|
||||
Postprocessing: expects a {str} returned from function and sets color picker value to it.
|
||||
Examples-format: a {str} with a hexadecimal representation of a color, e.g. "#ff0000" for red.
|
||||
Demos: color_picker
|
||||
Demos: color_picker, color_generator
|
||||
"""
|
||||
|
||||
def __init__(
|
||||
|
Loading…
x
Reference in New Issue
Block a user