diff --git a/gradio/interface.py b/gradio/interface.py index b60320f308a3..a78370e02a19 100644 --- a/gradio/interface.py +++ b/gradio/interface.py @@ -646,7 +646,7 @@ def attach_clear_events( [input_component_column] if input_component_column else [] ), # type: ignore _js=f"""() => {json.dumps( - + ( [{'variant': None, 'visible': True, '__type__': 'update'}] if self.interface_type in [ @@ -655,7 +655,7 @@ def attach_clear_events( InterfaceTypes.UNIFIED, ] else [] - + ) )} """, )