Changed FormComponent to IOComponent (#3017)
Co-authored-by: Ricardo Pinto <1-ricardo.pinto@users.noreply.gitlab.cognitage.com>
This commit is contained in:
parent
3e7feb699c
commit
3e9da5a27c
1 changed files with 1 additions and 1 deletions
|
@ -159,7 +159,7 @@ def apply_interface_values(state, use_persistent=False):
|
|||
return [state[k] if k in state else gr.update() for k in elements]
|
||||
|
||||
|
||||
class ToolButton(gr.Button, gr.components.FormComponent):
|
||||
class ToolButton(gr.Button, gr.components.IOComponent):
|
||||
"""Small button with single emoji as text, fits inside gradio forms"""
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue