Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -18,7 +18,7 @@ train = pd.read_csv('train.csv')
|
|
18 |
tokenizer = Tokenizer()
|
19 |
tokenizer.fit_on_texts(train.text)
|
20 |
|
21 |
-
model = tf.keras.models.load_model('DETECTION.
|
22 |
|
23 |
class Predict:
|
24 |
def __init__(self, model, tokenizer):
|
|
|
18 |
tokenizer = Tokenizer()
|
19 |
tokenizer.fit_on_texts(train.text)
|
20 |
|
21 |
+
model = tf.keras.models.load_model('DETECTION.h5')
|
22 |
|
23 |
class Predict:
|
24 |
def __init__(self, model, tokenizer):
|