Update app.py
Browse files
app.py
CHANGED
@@ -22,7 +22,7 @@ st.set_page_config(page_title="Cavity Detection Tool", layout="wide")
|
|
22 |
|
23 |
# st.title("Cavity Detection Tool")
|
24 |
|
25 |
-
bordersize = 0.
|
26 |
_, col, _ = st.columns([bordersize, 3, bordersize])
|
27 |
|
28 |
with col:
|
@@ -151,7 +151,7 @@ if uploaded_file is not None:
|
|
151 |
# Thresholding
|
152 |
y_pred = np.where(y_pred > threshold, y_pred, 0)
|
153 |
|
154 |
-
plot_prediction(y_pred
|
155 |
|
156 |
# if decompose:
|
157 |
# cavs = decompose_cavity(y_pred, )
|
|
|
22 |
|
23 |
# st.title("Cavity Detection Tool")
|
24 |
|
25 |
+
bordersize = 0.6
|
26 |
_, col, _ = st.columns([bordersize, 3, bordersize])
|
27 |
|
28 |
with col:
|
|
|
151 |
# Thresholding
|
152 |
y_pred = np.where(y_pred > threshold, y_pred, 0)
|
153 |
|
154 |
+
plot_prediction(y_pred)
|
155 |
|
156 |
# if decompose:
|
157 |
# cavs = decompose_cavity(y_pred, )
|