Project / app.py
mmcw23-p's picture
Update app.py
8e5a110
raw
history blame contribute delete
159 Bytes
from transformers import pipeline
import torch
import torch.nn.functional as F
classifier = pipeline("sentiment-analysis")
res= classifier("test")
print(res)