wqd7001 / backend /model.py
keanteng's picture
update
53a9f04
raw
history blame
198 Bytes
import joblib
import sys
def load_model(file_path):
with open(file_path, 'rb') as f:
model = joblib.load(f)
print(f"Model loaded from {file_path}", file=sys.stderr)
return model