Spaces:
Sleeping
Sleeping
Changed path
Browse files- 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)
|