DjPapzin commited on
Commit
386df44
·
1 Parent(s): f6f0a51

Changed path

Browse files
Files changed (1) hide show
  1. frontend/app.py +1 -1
frontend/app.py CHANGED
@@ -102,7 +102,7 @@ if 'model_llm' not in st.session_state:
102
  # --- Load pre-trained model and vectorizer ---
103
  st.session_state.model_llm = LogisticRegression()
104
  try:
105
- llm_model_path = "logistic_regression_model.pkl"
106
  print(f"Attempting to load LLM model from: {llm_model_path}")
107
  print(f"LLM Model file exists: {os.path.exists(llm_model_path)}")
108
  st.session_state.model_llm = pd.read_pickle(llm_model_path)
 
102
  # --- Load pre-trained model and vectorizer ---
103
  st.session_state.model_llm = LogisticRegression()
104
  try:
105
+ llm_model_path = "frontend/logistic_regression_model.pkl"
106
  print(f"Attempting to load LLM model from: {llm_model_path}")
107
  print(f"LLM Model file exists: {os.path.exists(llm_model_path)}")
108
  st.session_state.model_llm = pd.read_pickle(llm_model_path)