File size: 424 Bytes
af0160d
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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(".")