import requests print('๐Ÿงช Testing servers...') try: r1 = requests.get('http://localhost:5050', timeout=5) print(f'โœ… Streamlit: OK - {r1.status_code}') except Exception as e: print(f'โŒ Streamlit: FAILED - {e}') try: r2 = requests.get('http://localhost:5001/record', timeout=5) print(f'โœ… Recorder: OK - {r2.status_code}') except Exception as e: print(f'โŒ Recorder: FAILED - {e}') print('๐Ÿ Test completed')