Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -896,7 +896,8 @@ if st.button(f"Calculate {custom_formula}"):
|
|
896 |
custom_formula,
|
897 |
kernel_size,
|
898 |
include_boundary,
|
899 |
-
|
|
|
900 |
)
|
901 |
if results:
|
902 |
result_df = pd.DataFrame(results)
|
|
|
896 |
custom_formula,
|
897 |
kernel_size,
|
898 |
include_boundary,
|
899 |
+
tile_cloud_threshold=tile_cloud_threshold if "tile_cloud_threshold" in locals() else 0,
|
900 |
+
pixel_cloud_threshold=pixel_cloud_threshold if "pixel_cloud_threshold" in locals() else 0
|
901 |
)
|
902 |
if results:
|
903 |
result_df = pd.DataFrame(results)
|