Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -11,7 +11,7 @@ with open("preprocessing1.pkl", "rb") as f:
|
|
| 11 |
clean_text = dill.load(f)
|
| 12 |
|
| 13 |
# Load Text Vectorization Layer from SavedModel
|
| 14 |
-
vectorizer = tf.saved_model.load("
|
| 15 |
|
| 16 |
# Define News Categories
|
| 17 |
news_categories = ["Business", "Sci/Tech", "Sports", "World"]
|
|
|
|
| 11 |
clean_text = dill.load(f)
|
| 12 |
|
| 13 |
# Load Text Vectorization Layer from SavedModel
|
| 14 |
+
vectorizer = tf.saved_model.load("vectorizer")
|
| 15 |
|
| 16 |
# Define News Categories
|
| 17 |
news_categories = ["Business", "Sci/Tech", "Sports", "World"]
|