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
This commit is contained in:
Aherobo Ovie Victor
2025-07-11 20:17:47 +01:00
parent 88df23a311
commit c4de90fbec
+1 -1
View File
@@ -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)