frncscp commited on
Commit
e4ba9ea
1 Parent(s): 0f1e525

Update pages/Entorno de Ejecución.py

Browse files
Files changed (1) hide show
  1. pages/Entorno de Ejecución.py +2 -2
pages/Entorno de Ejecución.py CHANGED
@@ -30,7 +30,7 @@ classic_ml_root = "/home/user/app/classicML"
30
 
31
  @st.cache_resource
32
  def load_pca():
33
- pca = joblib.load(os.path.join(classic_ml_root, "pca_model.pkl"))
34
 
35
  def _predict(_model_list, _weights, _img):
36
  y_gorrito = 0
@@ -294,7 +294,7 @@ with zero_shot:
294
 
295
  with classic_ml:
296
 
297
- load_pca()
298
  col_a, col_b = st.columns(2)
299
  with col_a:
300
 
 
30
 
31
  @st.cache_resource
32
  def load_pca():
33
+ return joblib.load(os.path.join(classic_ml_root, "pca_model.pkl"))
34
 
35
  def _predict(_model_list, _weights, _img):
36
  y_gorrito = 0
 
294
 
295
  with classic_ml:
296
 
297
+ pca = load_pca()
298
  col_a, col_b = st.columns(2)
299
  with col_a:
300