Spaces:
Runtime error
Runtime error
from transformers import pipeline | |
classifier = pipeline("sentiment-analysis", model="stevhliu/my_awesome_model") | |
def getresult(text1): | |
result1=classifier(text1) | |
return result1 |