Niharmahesh commited on
Commit
a69eba5
·
verified ·
1 Parent(s): a6d6284

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -82,17 +82,17 @@ learning_rates = sorted(set(lr for lr, _, _ in hyperparameters))
82
 
83
  # Select slider for learning rate
84
  st.markdown('<p class="slider-label">Learning Rate</p>', unsafe_allow_html=True)
85
- selected_lr = st.select_slider(" ", options=learning_rates)
86
 
87
  # Filter batch sizes based on selected learning rate
88
  filtered_bs = sorted(set(bs for lr, bs, _ in hyperparameters if lr == selected_lr))
89
  st.markdown('<p class="slider-label">Batch Size</p>', unsafe_allow_html=True)
90
- selected_bs = st.select_slider(" ", options=filtered_bs)
91
 
92
  # Filter epochs based on selected learning rate and batch size
93
  filtered_epochs = sorted(set(epochs for lr, bs, epochs in hyperparameters if lr == selected_lr and bs == selected_bs))
94
  st.markdown('<p class="slider-label">Epochs</p>', unsafe_allow_html=True)
95
- selected_epochs = st.select_slider(" ", options=filtered_epochs)
96
 
97
  # Options for grid and smoothing
98
  enable_grid = st.checkbox("Enable Grid Lines")
 
82
 
83
  # Select slider for learning rate
84
  st.markdown('<p class="slider-label">Learning Rate</p>', unsafe_allow_html=True)
85
+ selected_lr = st.select_slider("LR", options=learning_rates)
86
 
87
  # Filter batch sizes based on selected learning rate
88
  filtered_bs = sorted(set(bs for lr, bs, _ in hyperparameters if lr == selected_lr))
89
  st.markdown('<p class="slider-label">Batch Size</p>', unsafe_allow_html=True)
90
+ selected_bs = st.select_slider("BS", options=filtered_bs)
91
 
92
  # Filter epochs based on selected learning rate and batch size
93
  filtered_epochs = sorted(set(epochs for lr, bs, epochs in hyperparameters if lr == selected_lr and bs == selected_bs))
94
  st.markdown('<p class="slider-label">Epochs</p>', unsafe_allow_html=True)
95
+ selected_epochs = st.select_slider("Epochs", options=filtered_epochs)
96
 
97
  # Options for grid and smoothing
98
  enable_grid = st.checkbox("Enable Grid Lines")