Update app.py
Browse files
app.py
CHANGED
|
@@ -146,7 +146,7 @@ if uploaded_file is not None:
|
|
| 146 |
y_pred += pred / 4
|
| 147 |
|
| 148 |
with colB:
|
| 149 |
-
threshold = st.slider("", 0.0, 1.0, 0.
|
| 150 |
|
| 151 |
# Thresholding
|
| 152 |
y_pred = np.where(y_pred > threshold, y_pred, 0)
|
|
|
|
| 146 |
y_pred += pred / 4
|
| 147 |
|
| 148 |
with colB:
|
| 149 |
+
threshold = st.slider("", 0.0, 1.0, 0.4, 0.05, label_visibility="hidden")
|
| 150 |
|
| 151 |
# Thresholding
|
| 152 |
y_pred = np.where(y_pred > threshold, y_pred, 0)
|