Update app.py
Browse files
app.py
CHANGED
@@ -4,7 +4,7 @@ import re
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
# Load the scikit-learn model
|
7 |
-
sklearn_model = joblib.load("
|
8 |
|
9 |
# Wrap the scikit-learn model inside a Hugging Face pipeline
|
10 |
pipeline_model = pipeline(task="feature-extraction", model=sklearn_model)
|
|
|
4 |
from transformers import pipeline
|
5 |
|
6 |
# Load the scikit-learn model
|
7 |
+
sklearn_model = joblib.load("arabic-msa-dialects-segmentation-v1.pkl")
|
8 |
|
9 |
# Wrap the scikit-learn model inside a Hugging Face pipeline
|
10 |
pipeline_model = pipeline(task="feature-extraction", model=sklearn_model)
|