aurora / models /model_loader.py
yasyn14's picture
Add application file
56e76e3
raw
history blame contribute delete
288 Bytes
from keras.models import load_model
def load_skin_condition_model(model_path: str):
try:
model = load_model(model_path)
print("Model loaded successfully.")
return model
except Exception as e:
print(f"Error loading model: {e}")
return None