Ezhil
Initial commit
2ed4404
raw
history blame contribute delete
235 Bytes
from transformers import pipeline
import streamlit as st
@st.cache_resource
def load_model():
"""Load the sentiment analysis model."""
return pipeline("sentiment-analysis", model="tabularisai/multilingual-sentiment-analysis")