from transformers import pipeline # Memuat model IndoBERT classifier = pipeline("text-classification", model="indobenchmark/indobert-base-p1") # Fungsi untuk memproses input def classify_text(text): return classifier(text)