Spaces:
Sleeping
Sleeping
Update utils/vulnerability_classifier.py
Browse files
utils/vulnerability_classifier.py
CHANGED
@@ -86,6 +86,7 @@ def load_vulnerabilityClassifier(config_file:str = None, classifier_name:str = N
|
|
86 |
|
87 |
# Download model from HF Hub
|
88 |
doc_classifier = SetFitModel.from_pretrained(classifier_name)
|
|
|
89 |
|
90 |
# doc_classifier = pipeline("text-classification",
|
91 |
# model=classifier_name,
|
|
|
86 |
|
87 |
# Download model from HF Hub
|
88 |
doc_classifier = SetFitModel.from_pretrained(classifier_name)
|
89 |
+
st.write("Model loaded")
|
90 |
|
91 |
# doc_classifier = pipeline("text-classification",
|
92 |
# model=classifier_name,
|