Spaces:
Runtime error
Runtime error
Surya8663 commited on
Commit ·
d804a65
1
Parent(s): 4c21dbb
Switch to smaller model to fix storage limit
Browse files15 unmodified lines1617181919202121222315 unmodified linesprint("--------------------------")
print("Loading zero-shot classification model...")classifier = pipeline("zero-shot-classification", model="facebook/bart-large-mnli")classifier = pipeline("zero-shot-classification", model="valhalla/distilbart-mnli-12-3")print("Model loaded successfully.")
database.init_db()
POSSIBLE_LABELS = ["Work", "Promotions", "Personal", "Spam", "Important"]backend/app.py+1-2