Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -17,7 +17,7 @@ label_map = {
|
|
| 17 |
"LABEL_1": "LLM (1)",
|
| 18 |
"1": "LLM (1)"
|
| 19 |
}
|
| 20 |
-
large_v3 =
|
| 21 |
|
| 22 |
# Function to load the selected model and classify text
|
| 23 |
def classify_text(model_name, text):
|
|
|
|
| 17 |
"LABEL_1": "LLM (1)",
|
| 18 |
"1": "LLM (1)"
|
| 19 |
}
|
| 20 |
+
large_v3 = pipeline("text-classification", model="underscore2/modernbert_large_slop_classifier_v3", top_k=None)
|
| 21 |
|
| 22 |
# Function to load the selected model and classify text
|
| 23 |
def classify_text(model_name, text):
|