de-Rodrigo commited on
Commit
ec6ae3f
1 Parent(s): f3b063f

Fix Slider Key Name Error

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1522,7 +1522,7 @@ def run_model(model_name):
1522
  y_min, y_max = y_min - padding, y_max + padding
1523
 
1524
  # Definir rejilla
1525
- grid_size = st.slider("Grid size (resoluci贸n del heatmap)", min_value=10, max_value=100, value=40, step=5)
1526
  x_bins = np.linspace(x_min, x_max, grid_size + 1)
1527
  y_bins = np.linspace(y_min, y_max, grid_size + 1)
1528
 
 
1522
  y_min, y_max = y_min - padding, y_max + padding
1523
 
1524
  # Definir rejilla
1525
+ grid_size = st.slider("Grid size (resoluci贸n del heatmap)", min_value=10, max_value=100, value=40, step=5, key=f"grid_size_{model_name}")
1526
  x_bins = np.linspace(x_min, x_max, grid_size + 1)
1527
  y_bins = np.linspace(y_min, y_max, grid_size + 1)
1528