Spaces:
Sleeping
Sleeping
Surya8663
commited on
Commit
·
d804a65
1
Parent(s):
4c21dbb
Switch to smaller model to fix storage limit
Browse files- backend/app.py +1 -2
backend/app.py
CHANGED
|
@@ -16,9 +16,8 @@ except Exception as e:
|
|
| 16 |
print("--------------------------")
|
| 17 |
|
| 18 |
print("Loading zero-shot classification model...")
|
| 19 |
-
classifier = pipeline("zero-shot-classification", model="
|
| 20 |
print("Model loaded successfully.")
|
| 21 |
-
|
| 22 |
database.init_db()
|
| 23 |
|
| 24 |
POSSIBLE_LABELS = ["Work", "Promotions", "Personal", "Spam", "Important"]
|
|
|
|
| 16 |
print("--------------------------")
|
| 17 |
|
| 18 |
print("Loading zero-shot classification model...")
|
| 19 |
+
classifier = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-3")
|
| 20 |
print("Model loaded successfully.")
|
|
|
|
| 21 |
database.init_db()
|
| 22 |
|
| 23 |
POSSIBLE_LABELS = ["Work", "Promotions", "Personal", "Spam", "Important"]
|