diff --git a/gradio/blocks.py b/gradio/blocks.py index 0e340b2844..cbd0cd4f99 100644 --- a/gradio/blocks.py +++ b/gradio/blocks.py @@ -253,8 +253,8 @@ class Blocks(BlockContext): if predictions[i] is not None else None ) - else: - output = predictions + else: + output = predictions return {"data": output} def get_template_context(self):