from transformers import pipeline import torch import torch.nn.functional as TF import streamlit as st classifier = pipeline("sentiment-analysis") defaultTxt = "I hate you cancerous insects so much" result = classifier(defaultTxt) print(result)