Update app.py
Browse files
app.py
CHANGED
|
@@ -126,6 +126,9 @@ def decompose_cavity(pred, th2=0.7, amin=10):
|
|
| 126 |
return cavities
|
| 127 |
|
| 128 |
|
|
|
|
|
|
|
|
|
|
| 129 |
|
| 130 |
|
| 131 |
bordersize = 0.6
|
|
@@ -162,8 +165,6 @@ if uploaded_file is not None:
|
|
| 162 |
st.session_state.default = 0.0
|
| 163 |
|
| 164 |
with col1:
|
| 165 |
-
def default_theshold():
|
| 166 |
-
st.session_state.default = 0.0
|
| 167 |
|
| 168 |
# st.markdown("""<style>[data-baseweb="select"] {margin-top: -26px;}</style>""", unsafe_allow_html=True)
|
| 169 |
max_scale = int(data.shape[0] // 128)
|
|
|
|
| 126 |
return cavities
|
| 127 |
|
| 128 |
|
| 129 |
+
def default_threshold():
|
| 130 |
+
st.session_state.default = 0.0
|
| 131 |
+
|
| 132 |
|
| 133 |
|
| 134 |
bordersize = 0.6
|
|
|
|
| 165 |
st.session_state.default = 0.0
|
| 166 |
|
| 167 |
with col1:
|
|
|
|
|
|
|
| 168 |
|
| 169 |
# st.markdown("""<style>[data-baseweb="select"] {margin-top: -26px;}</style>""", unsafe_allow_html=True)
|
| 170 |
max_scale = int(data.shape[0] // 128)
|