from transformers import pipeline import gradio as gr #this is in place of the streamlit of the HF video import torch #this is just like the HF video import datasets evaluate transformers[sentencepiece] classifier = pipeline("zero-shot-classification") classifier( "This is a course about the Transformers library", candidate_labels=["education", "politics", "business"], )