from transformers import pipeline

nlp = pipeline(
    "text-classification",
    model="amcoff/classify_skolmat",
    tokenizer="KBLab/bert-base-swedish-cased",
)

nlp("Kökets val")