Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -178,7 +178,7 @@ def upload_page():
|
|
178 |
st.success(f"Image saved to {filepath}")
|
179 |
|
180 |
# Save image to Hugging Face repo
|
181 |
-
|
182 |
|
183 |
# Check if the uploaded file is a GeoTIFF
|
184 |
if file_extension in ['.tiff', '.tif']:
|
@@ -218,7 +218,7 @@ def upload_page():
|
|
218 |
st.session_state.mask_filename = mask_filename
|
219 |
|
220 |
# Save mask to Hugging Face repo
|
221 |
-
|
222 |
|
223 |
# Log image details
|
224 |
log_image_details(timestamp, converted_filename, mask_filename)
|
|
|
178 |
st.success(f"Image saved to {filepath}")
|
179 |
|
180 |
# Save image to Hugging Face repo
|
181 |
+
|
182 |
|
183 |
# Check if the uploaded file is a GeoTIFF
|
184 |
if file_extension in ['.tiff', '.tif']:
|
|
|
218 |
st.session_state.mask_filename = mask_filename
|
219 |
|
220 |
# Save mask to Hugging Face repo
|
221 |
+
|
222 |
|
223 |
# Log image details
|
224 |
log_image_details(timestamp, converted_filename, mask_filename)
|