Spaces:
Sleeping
Sleeping
update app.py
Browse files
app.py
CHANGED
@@ -777,6 +777,7 @@ if st.button(f"Calculate {custom_formula}"):
|
|
777 |
example_formula = custom_formula
|
778 |
for band in selected_bands:
|
779 |
example_formula = example_formula.replace(band, str(example_values[band]))
|
|
|
780 |
st.session_state.show_example = False
|
781 |
st.success('Processing complete!')
|
782 |
else:
|
|
|
777 |
example_formula = custom_formula
|
778 |
for band in selected_bands:
|
779 |
example_formula = example_formula.replace(band, str(example_values[band]))
|
780 |
+
# st.write(f"Example Calculation: {custom_formula} -> {example_formula} = {example_result.get('Calculated Value', example_result.get('Aggregated Value'))}")
|
781 |
st.session_state.show_example = False
|
782 |
st.success('Processing complete!')
|
783 |
else:
|