Spaces:
Sleeping
Sleeping
GMARTINEZMILLA
commited on
Commit
•
eb433cf
1
Parent(s):
e0fd3d2
feat: updated website
Browse files
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"
|
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(
|
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
|