InfoSecAI-finalProj / debug_load.py
BrianChuan
Bugs Fix & API update
14640e3
Raw
History Blame Contribute Delete
450 Bytes
import sys
import os
# Add the project directory to path
sys.path.append('/Users/hsiehchin-chuan/Desktop/InfoSec-finalProj/InfoSecAI-finalProj')
try:
from models import load_models_and_data, AI_READY
import models
print("Attempting to load models...")
load_models_and_data()
print(f"AI_READY: {models.AI_READY}")
except Exception as e:
print(f"Error during loading: {e}")
import traceback
traceback.print_exc()