From c4de90fbecc1d2492b8d95ef0bafaf72196e4dc8 Mon Sep 17 00:00:00 2001 From: Aherobo Ovie Victor Date: Fri, 11 Jul 2025 20:17:47 +0100 Subject: [PATCH] Fix port conflict: Change Flask app port from 5001 to 5002 - Updated main.py to use port 5002 instead of 5001 - Resolves 'Address already in use' error - Ensures smooth API startup for testing - Web interface now available at http://localhost:5002 --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 4784382..b5a11b8 100644 --- a/main.py +++ b/main.py @@ -361,4 +361,4 @@ if __name__ == '__main__': print(f"Model loaded: {detector.model is not None}") print(f"Hardcoded test image: {HARDCODED_IMAGE_PATH}") - app.run(host='0.0.0.0', port=5001, debug=True) + app.run(host='0.0.0.0', port=5002, debug=True)