alkzar90 commited on
Commit
57301c2
1 Parent(s): f81dc6c

Fix float type on slider

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -3,7 +3,7 @@ import numpy as np
3
  import matplotlib.pyplot as plt
4
 
5
  number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=50)
6
- noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2, value=0.25)
7
 
8
  np.random.seed(2)
9
 
 
3
  import matplotlib.pyplot as plt
4
 
5
  number_of_observations = st.sidebar.slider('Number of observations', min_value=50, max_value=150, value=50)
6
+ noise_standard_deviation = st.sidebar.slider('Standard deviation of the noise', min_value = 0.0, max_value=2.0, value=0.25)
7
 
8
  np.random.seed(2)
9