Update app.py
Browse files
app.py
CHANGED
|
@@ -2,7 +2,7 @@ import streamlit as st
|
|
| 2 |
import joblib # Replace with torch if using a PyTorch model
|
| 3 |
|
| 4 |
# Load the trained model (ensure the model file is in the same directory)
|
| 5 |
-
model = joblib.load('
|
| 6 |
|
| 7 |
# Streamlit UI
|
| 8 |
st.title("Sentiment Analysis App using GenAI Models")
|
|
|
|
| 2 |
import joblib # Replace with torch if using a PyTorch model
|
| 3 |
|
| 4 |
# Load the trained model (ensure the model file is in the same directory)
|
| 5 |
+
model = joblib.load('cardiffnlp/twitter-roberta-base-sentiment')
|
| 6 |
|
| 7 |
# Streamlit UI
|
| 8 |
st.title("Sentiment Analysis App using GenAI Models")
|