Spaces:
Runtime error
Runtime error
# Libraries | |
import streamlit as st | |
import tensorflow as tf | |
from transformers import pipeline | |
# Milestone 2 | |
sentiment_pipeline = pipeline("sentiment-analysis", model = "siebert/sentiment-roberta-large-english") | |
data = ["I love you", "I hate you"] | |
sentiment_pipeline(data) | |