Spaces:
Build error
Build error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,7 +13,7 @@ vectorizer = TextVectorization(max_tokens=250000,
|
|
| 13 |
vectorizer.adapt(X)
|
| 14 |
|
| 15 |
#load the model
|
| 16 |
-
model = tf.keras.models.load_model('
|
| 17 |
|
| 18 |
|
| 19 |
def score_comment(comment):
|
|
|
|
| 13 |
vectorizer.adapt(X)
|
| 14 |
|
| 15 |
#load the model
|
| 16 |
+
model = tf.keras.models.load_model('comment_toxicity_model.h5')
|
| 17 |
|
| 18 |
|
| 19 |
def score_comment(comment):
|