Spaces:
Sleeping
Sleeping
| import sys | |
| sys.path.insert(0, r'c:\Users\NAEHA\Desktop\projects\spaces') | |
| from luxury_authenticator import analyze_image, determine_status | |
| from pipeline.orchestrator import analyse | |
| # Test status determination | |
| status, color, icon = determine_status(80) | |
| print(f"β Status function works: {status}") | |
| # Test that analyse is imported | |
| print(f"β Pipeline analyse imported successfully") | |
| # Test analyze_image with None (should give error message) | |
| result = analyze_image(None) | |
| if "Please upload" in result: | |
| print("β Error handling works correctly") | |
| print("\nβ INTEGRATION COMPLETE - Ready for real images!") | |