SamoXXX commited on
Commit
f0a40fb
1 Parent(s): 65361ba

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -2
app.py CHANGED
@@ -33,7 +33,7 @@ def style_dataframe(df: pd.DataFrame):
33
 
34
  def styler(df: pd.DataFrame):
35
  palette = sns.color_palette("RdYlGn", as_cmap=True)
36
- styled_df = df.style.background_gradient(cmap=palette, subset=[AVERAGE_COLUMN_NAME, SENTIMENT_COLUMN_NAME, PHRASEOLOGY_COLUMN_NAME, UNDERSTANDING_COLUMN_NAME]).format(precision=2)
37
  return styled_df
38
 
39
 
@@ -109,7 +109,9 @@ social_media_links_colors = [
109
  social_media_icons = SocialMediaIcons(social_media_links, social_media_links_colors)
110
  social_media_icons.render(justify_content='right')
111
 
112
- st.divider()
 
 
113
 
114
  st.markdown("""
115
  <img src="https://speakleash.org/wp-content/uploads/2023/09/SpeakLeash_logo.svg" alt="SpeakLeash Logo">
 
33
 
34
  def styler(df: pd.DataFrame):
35
  palette = sns.color_palette("RdYlGn", as_cmap=True)
36
+ styled_df = df.style.background_gradient(cmap=palette, subset=["Params",AVERAGE_COLUMN_NAME, SENTIMENT_COLUMN_NAME, PHRASEOLOGY_COLUMN_NAME, UNDERSTANDING_COLUMN_NAME]).format(precision=2)
37
  return styled_df
38
 
39
 
 
109
  social_media_icons = SocialMediaIcons(social_media_links, social_media_links_colors)
110
  social_media_icons.render(justify_content='right')
111
 
112
+ st.markdown("""
113
+ <hr style="margin: 0.5em 0;">
114
+ """, unsafe_allow_html=True)
115
 
116
  st.markdown("""
117
  <img src="https://speakleash.org/wp-content/uploads/2023/09/SpeakLeash_logo.svg" alt="SpeakLeash Logo">