Spaces:
Running
Running
Update src/streamlit_app.py
Browse files- src/streamlit_app.py +1 -1
src/streamlit_app.py
CHANGED
@@ -11,7 +11,7 @@ nltk.download("punkt", download_dir=nltk_data_path)
|
|
11 |
nltk.data.path.append(nltk_data_path)
|
12 |
|
13 |
# 📦 Load model
|
14 |
-
model = tf.keras.models.load_model('src/my_distilbert_classifier.keras', compile=False)
|
15 |
|
16 |
# 🧠 Predict probability for one sentence
|
17 |
def predict_sentence_ai_probability(sentence):
|
|
|
11 |
nltk.data.path.append(nltk_data_path)
|
12 |
|
13 |
# 📦 Load model
|
14 |
+
# model = tf.keras.models.load_model('src/my_distilbert_classifier.keras', compile=False)
|
15 |
|
16 |
# 🧠 Predict probability for one sentence
|
17 |
def predict_sentence_ai_probability(sentence):
|