Spaces:
Sleeping
Sleeping
import streamlit as st | |
import zipfile | |
st.title('Sentinel 2 Crop Mapping') | |
st.markdown('Using a <model> and giving a zip that contains 32 tiff named correctly you can reach prediction of crop mapping og the area.') | |
file_uploaded = st.file_uploader( | |
"Upload", | |
type=["zip"], | |
accept_multiple_files=False, | |
) | |
if file_uploaded is not None: | |
with zipfile.ZipFile(file_uploaded, "r") as z: | |
z.extractall(".") | |