Madiharehan commited on
Commit
156f70a
·
verified ·
1 Parent(s): 52993b8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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('cardiffnlp/twitter-roberta-base-sentiment')
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-latest')
6
 
7
  # Streamlit UI
8
  st.title("Sentiment Analysis App using GenAI Models")