nhull commited on
Commit
7258f72
·
verified ·
1 Parent(s): e3eec8d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -2,8 +2,8 @@ import joblib
2
  import gradio as gr
3
 
4
  # Load the model and vectorizer
5
- model = joblib.load('scripts/modeli/logistic_regression_model.pkl')
6
- vectorizer = joblib.load('scripts/modeli/tfidf_vectorizer.pkl')
7
 
8
  def predict_review_rating(review_text):
9
  # Transform the review text using the loaded vectorizer
 
2
  import gradio as gr
3
 
4
  # Load the model and vectorizer
5
+ model = joblib.load('logistic_regression_model.pkl')
6
+ vectorizer = joblib.load('tfidf_vectorizer.pkl')
7
 
8
  def predict_review_rating(review_text):
9
  # Transform the review text using the loaded vectorizer