Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -229,7 +229,7 @@ if st.session_state.screen == 2:
|
|
| 229 |
if 'results' not in st.session_state:
|
| 230 |
st.write("The model is working. Please be patient...")
|
| 231 |
st.write("This process takes around 30 seconds.")
|
| 232 |
-
st.session_state.results = st.session_state.model.predict(st.session_state.tiles
|
| 233 |
st.rerun()
|
| 234 |
|
| 235 |
# plot predicted image
|
|
|
|
| 229 |
if 'results' not in st.session_state:
|
| 230 |
st.write("The model is working. Please be patient...")
|
| 231 |
st.write("This process takes around 30 seconds.")
|
| 232 |
+
st.session_state.results = st.session_state.model.predict(st.session_state.tiles, conf=0.5) # predict
|
| 233 |
st.rerun()
|
| 234 |
|
| 235 |
# plot predicted image
|