diff --git a/gradio/blocks.py b/gradio/blocks.py index bc72c1171c..8edeeef0a7 100644 --- a/gradio/blocks.py +++ b/gradio/blocks.py @@ -117,7 +117,7 @@ class BlockContext(Block): def get_template_context(self): return { - "css": self.css if self.css is not None else {}, + "css": self.css, "default_value": self.visible, }