GMARTINEZMILLA commited on
Commit
5cb1f26
1 Parent(s): 8ce4ad5

feat: updated website

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -328,7 +328,7 @@ elif page == "Customer Analysis":
328
  # Column 1: Radar chart for top manufacturers
329
  with col1:
330
  # Overperforming manufacturers alert
331
- st.markdown(f"### Overperforming Manufacturers for {customer_code}")
332
 
333
  # Identify manufacturers that exceeded predicted sales
334
  overperforming_manufacturers = results[results['ventas_reales'] > results['ventas_predichas']].copy()
@@ -344,7 +344,7 @@ elif page == "Customer Analysis":
344
  top_overperformers = overperforming_manufacturers.head(10)
345
 
346
  # Display alerts for top 10 biggest overperformers
347
- st.success("Top 10 manufacturers that exceeded predicted sales:")
348
  for index, row in top_overperformers.iterrows():
349
  manufacturer_name = get_supplier_name(row['marca_id_encoded'])
350
  predicted = row['ventas_predichas']
 
328
  # Column 1: Radar chart for top manufacturers
329
  with col1:
330
  # Overperforming manufacturers alert
331
+ st.markdown(f"### This looks great!")
332
 
333
  # Identify manufacturers that exceeded predicted sales
334
  overperforming_manufacturers = results[results['ventas_reales'] > results['ventas_predichas']].copy()
 
344
  top_overperformers = overperforming_manufacturers.head(10)
345
 
346
  # Display alerts for top 10 biggest overperformers
347
+ st.success("Your customer did exceed predicted sales from the following brands:")
348
  for index, row in top_overperformers.iterrows():
349
  manufacturer_name = get_supplier_name(row['marca_id_encoded'])
350
  predicted = row['ventas_predichas']