From 1b2de520d454ad33c68618bf1ccd415056009255 Mon Sep 17 00:00:00 2001 From: overcuriousity Date: Sat, 17 Jan 2026 23:18:55 +0100 Subject: [PATCH] remove automatic broser opening stuff --- analyze_results.py | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/analyze_results.py b/analyze_results.py index 6b430cb..6ff4941 100644 --- a/analyze_results.py +++ b/analyze_results.py @@ -12,8 +12,6 @@ from typing import List, Dict import argparse from collections import defaultdict from flask import Flask, render_template, jsonify, request -import webbrowser -from threading import Timer import numpy as np @@ -614,15 +612,8 @@ class WebInterface: # Generate HTML template self.create_dashboard_template(templates_dir) - # Open browser automatically - def open_browser(): - webbrowser.open(f'http://{host}:{port}') - - if not debug: - Timer(1.5, open_browser).start() - print(f"\n🌐 Starting web interface at http://{host}:{port}") - print(f"šŸ“Š Dashboard will open automatically in your browser") + print(f"šŸ“Š Open the above URL in your browser to view the dashboard") print(f"šŸ›‘ Press Ctrl+C to stop the server\n") self.app.run(host=host, port=port, debug=debug)