Run the web server.
(self, debug: bool = False)
| 732 | self._reload_thread.join(timeout=2.0) |
| 733 | |
| 734 | def run(self, debug: bool = False): |
| 735 | """Run the web server.""" |
| 736 | print(f"Starting visualization server on http://localhost:{self.port}") |
| 737 | print(f"Open your browser and navigate to http://localhost:{self.port}") |
| 738 | print(f"Auto-reload enabled: data will refresh every 60 seconds") |
| 739 | try: |
| 740 | self.app.run(host='0.0.0.0', port=self.port, debug=debug) |
| 741 | finally: |
| 742 | self.stop() |
| 743 |