Spaces:
Sleeping
Sleeping
Commit ·
7c6f639
1
Parent(s): b15f93d
Use new v2 model
Browse files
app.py
CHANGED
|
@@ -10,7 +10,8 @@ label_mapping = {
|
|
| 10 |
}
|
| 11 |
|
| 12 |
# Load classifier
|
| 13 |
-
classifier = pipeline("text-classification", model="
|
|
|
|
| 14 |
|
| 15 |
def predict(texts):
|
| 16 |
try:
|
|
|
|
| 10 |
}
|
| 11 |
|
| 12 |
# Load classifier
|
| 13 |
+
classifier = pipeline("text-classification", model="coldnasser/mindscape-v2")
|
| 14 |
+
|
| 15 |
|
| 16 |
def predict(texts):
|
| 17 |
try:
|