diff --git a/demo/blocks_component_shortcut/run.py b/demo/blocks_component_shortcut/run.py index 9afb7eaa10..b589154f38 100644 --- a/demo/blocks_component_shortcut/run.py +++ b/demo/blocks_component_shortcut/run.py @@ -25,4 +25,5 @@ with gr.Blocks() as demo: text1.change(greet, text1, text2) text2.change(greet, text2, text3) text3.change(greet, text3, text1) + button = gr.component("button") demo.launch()