yogesh-venkat commited on
Commit
756aa78
·
verified ·
1 Parent(s): 02c2a42

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -801,15 +801,17 @@ elif page == "📊 Model Performance":
801
  if df_cls.empty:
802
  st.info("No classification metrics found yet in `smartvision_metrics/`.")
803
  else:
804
- st.dataframe(df_cls, width=520)
805
 
806
  col1, col2 = st.columns(2)
807
  with col1:
 
808
  st.bar_chart(
809
  df_cls.set_index("Model")["Accuracy"],
810
  width=520,
811
  )
812
  with col2:
 
813
  st.bar_chart(
814
  df_cls.set_index("Model")["F1 (weighted)"],
815
  width=520,
 
801
  if df_cls.empty:
802
  st.info("No classification metrics found yet in `smartvision_metrics/`.")
803
  else:
804
+ st.dataframe(df_cls, width='content')
805
 
806
  col1, col2 = st.columns(2)
807
  with col1:
808
+ st.markdown("#### Accuracy")
809
  st.bar_chart(
810
  df_cls.set_index("Model")["Accuracy"],
811
  width=520,
812
  )
813
  with col2:
814
+ st.markdown("#### F1 (weighted)")
815
  st.bar_chart(
816
  df_cls.set_index("Model")["F1 (weighted)"],
817
  width=520,