From e4199c631be7f626ba39c889b5d304417074d608 Mon Sep 17 00:00:00 2001 From: jcollopy-tulane Date: Mon, 29 Apr 2024 02:37:08 -0500 Subject: [PATCH] Model Path --- nlp/cli.py | 1 + 1 file changed, 1 insertion(+) diff --git a/nlp/cli.py b/nlp/cli.py index 50aeac9..efb8253 100644 --- a/nlp/cli.py +++ b/nlp/cli.py @@ -161,6 +161,7 @@ def train_cnn(): test_df = pd.read_csv(config.get('data', 'file3')) dir_path = os.path.dirname(os.path.realpath(__file__)) + model_path = '/Users/jackiecollopy/Downloads/project-reddit/nlp/cnn_model.h5' try: model = keras.models.load_model(model_path, compile=False) except Exception as e: