Spaces:
Sleeping
Sleeping
ignaziogallo
commited on
Commit
·
af0e7f9
1
Parent(s):
8e3e789
bug fixed
Browse files
app.py
CHANGED
|
@@ -121,6 +121,7 @@ file_uploaded = st.file_uploader(
|
|
| 121 |
)
|
| 122 |
sample_path = None
|
| 123 |
tileids = None
|
|
|
|
| 124 |
if file_uploaded is not None:
|
| 125 |
with zipfile.ZipFile(file_uploaded, "r") as z:
|
| 126 |
z.extractall(os.path.join("uploaded_samples", opt.years[0]))
|
|
@@ -147,7 +148,7 @@ with col4:
|
|
| 147 |
sample_path = 'demo_data/lombardia'
|
| 148 |
tileids = ['1509']
|
| 149 |
|
| 150 |
-
paths = None
|
| 151 |
if sample_path is not None:
|
| 152 |
# st.markdown(f'elaborating {sample_path} ...')
|
| 153 |
|
|
|
|
| 121 |
)
|
| 122 |
sample_path = None
|
| 123 |
tileids = None
|
| 124 |
+
st.paths = None
|
| 125 |
if file_uploaded is not None:
|
| 126 |
with zipfile.ZipFile(file_uploaded, "r") as z:
|
| 127 |
z.extractall(os.path.join("uploaded_samples", opt.years[0]))
|
|
|
|
| 148 |
sample_path = 'demo_data/lombardia'
|
| 149 |
tileids = ['1509']
|
| 150 |
|
| 151 |
+
# paths = None
|
| 152 |
if sample_path is not None:
|
| 153 |
# st.markdown(f'elaborating {sample_path} ...')
|
| 154 |
|