aCogSphere11 / acogsphere.py
CognitiveScience's picture
Update acogsphere.py
7edad89
raw
history blame
182 Bytes
from transformers import pipeline
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model")
def acf(text1):
acfresult=classifier(text1)
return acfresult