YashMK89 commited on
Commit
3b63829
·
verified ·
1 Parent(s): 6c55b36

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -896,7 +896,8 @@ if st.button(f"Calculate {custom_formula}"):
896
  custom_formula,
897
  kernel_size,
898
  include_boundary,
899
- cloud_threshold=cloud_threshold
 
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)