GMARTINEZMILLA commited on
Commit
eb433cf
1 Parent(s): e0fd3d2

feat: updated website

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -269,11 +269,11 @@ elif page == "Customer Analysis":
269
  if not customer_match.empty:
270
  cluster = customer_match['cluster_id'].values[0]
271
 
272
- with st.spinner(f"Loading customer model for cluster {cluster}..."):
273
  # Load the Corresponding Model
274
  model_path = f'models/modelo_cluster_{cluster}.txt'
275
  gbm = lgb.Booster(model_file=model_path)
276
- time.sleep(1)
277
 
278
  with st.spinner("Getting the data ready..."):
279
  # Load predict data for that cluster
 
269
  if not customer_match.empty:
270
  cluster = customer_match['cluster_id'].values[0]
271
 
272
+ with st.spinner(f"Selecting predictive model..."):
273
  # Load the Corresponding Model
274
  model_path = f'models/modelo_cluster_{cluster}.txt'
275
  gbm = lgb.Booster(model_file=model_path)
276
+ time.sleep(2)
277
 
278
  with st.spinner("Getting the data ready..."):
279
  # Load predict data for that cluster