From 3e9da5a27ceb2a17941ff7c287f1382bd6ab9124 Mon Sep 17 00:00:00 2001 From: Ricardo Pinto Date: Tue, 11 Jul 2023 22:52:16 +0100 Subject: [PATCH] Changed FormComponent to IOComponent (#3017) Co-authored-by: Ricardo Pinto <1-ricardo.pinto@users.noreply.gitlab.cognitage.com> --- modules/ui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui.py b/modules/ui.py index 3504953..9fea288 100644 --- a/modules/ui.py +++ b/modules/ui.py @@ -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):