whitphx HF staff commited on
Commit
2f26bf6
1 Parent(s): a823f42

Add a header of sample components

Browse files
Files changed (1) hide show
  1. fragments.py +1 -0
fragments.py CHANGED
@@ -23,4 +23,5 @@ def contrast_summary(label: str, foreground_rgb_hex: str, background_rgb_hex: st
23
 
24
 
25
  def sample_components(key: str):
 
26
  st.slider("Slider", min_value=0, max_value=100, key=f"{key}:slider")
 
23
 
24
 
25
  def sample_components(key: str):
26
+ st.header("Sample components")
27
  st.slider("Slider", min_value=0, max_value=100, key=f"{key}:slider")