Spaces:
Runtime error
Runtime error
Fix float type on slider
Browse files
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 |
|