diff --git a/src/tqdm_publisher/_demos/_demo_command_line_interface.py b/src/tqdm_publisher/_demos/_demo_command_line_interface.py index c00b08e..714cca6 100644 --- a/src/tqdm_publisher/_demos/_demo_command_line_interface.py +++ b/src/tqdm_publisher/_demos/_demo_command_line_interface.py @@ -18,6 +18,7 @@ DEMO_BASE_FOLDER_PATH = Path(__file__).parent + def _command_line_interface(): """A simple command line interface for running the demo for TQDM Publisher.""" if len(sys.argv) <= 1: diff --git a/src/tqdm_publisher/_demos/_parallel_bars/_server.py b/src/tqdm_publisher/_demos/_parallel_bars/_server.py index 01c0cb0..2f53763 100644 --- a/src/tqdm_publisher/_demos/_parallel_bars/_server.py +++ b/src/tqdm_publisher/_demos/_parallel_bars/_server.py @@ -220,6 +220,7 @@ def update(): return jsonify({"status": "success"}) + @app.route("/events", methods=["GET"]) @cross_origin() def events():