From cce81f80f4745c8e06d81a49c07cc182edde1d2e Mon Sep 17 00:00:00 2001 From: jcollopy-tulane Date: Mon, 29 Apr 2024 01:45:20 -0500 Subject: [PATCH] Idk --- nlp/cli.py | 2 +- notebooks/Experiment-CNN-1.ipynb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nlp/cli.py b/nlp/cli.py index 5954d79..1224dc9 100644 --- a/nlp/cli.py +++ b/nlp/cli.py @@ -20,7 +20,7 @@ import tensorflow as tf import keras as keras from tensorflow.keras.models import load_model -from keras.preprocessing.text import Tokenizer +from tensorflow.keras.preprocessing.text import text from tensorflow.keras.preprocessing.sequence import pad_sequences from sklearn.preprocessing import LabelEncoder diff --git a/notebooks/Experiment-CNN-1.ipynb b/notebooks/Experiment-CNN-1.ipynb index 92c8225..8f1825d 100644 --- a/notebooks/Experiment-CNN-1.ipynb +++ b/notebooks/Experiment-CNN-1.ipynb @@ -2,7 +2,7 @@ "cells": [ { "cell_type": "code", - "execution_count": 18, + "execution_count": 28, "id": "70f2a5ec-67f6-4d3c-b912-717e401fc70e", "metadata": {}, "outputs": [],