import sys

import tensorflow as tf
from keras.models import load_model
from loguru import logger

from model import *

if __name__ == '__main__':
    model = load_model(sys.argv[1])
    X_test = csvToX(Path().cwd().joinpath(sys.argv[2]))
    logger.success(model.predict(X_test))