jarif commited on
Commit
9bb9ad8
1 Parent(s): 93878b2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -17,7 +17,7 @@ st.title('Unveiling Sentiment: A Deep Dive into Sentiment Analysis 🐨')
17
  def predict_sentiment(custom_data):
18
  try:
19
  # Load the trained model
20
- model_path = 'sentiment_analysis_model_v2.h5' # Use the new model file
21
  if not os.path.exists(model_path):
22
  st.error(f"Model file not found: {model_path}")
23
  return None
 
17
  def predict_sentiment(custom_data):
18
  try:
19
  # Load the trained model
20
+ model_path = 'sentiment_analysis_model.h5' # Use the new model file
21
  if not os.path.exists(model_path):
22
  st.error(f"Model file not found: {model_path}")
23
  return None