Spaces:
Sleeping
Sleeping
Commit
•
d388e51
1
Parent(s):
b057e78
Update app.py
Browse files
app.py
CHANGED
@@ -53,9 +53,10 @@ def init_state() :
|
|
53 |
st.session_state.loaded_data = False
|
54 |
|
55 |
if not st.session_state.loaded_data:
|
56 |
-
|
57 |
-
|
58 |
-
|
|
|
59 |
|
60 |
def sidebar() :
|
61 |
def retrieval_settings() :
|
|
|
53 |
st.session_state.loaded_data = False
|
54 |
|
55 |
if not st.session_state.loaded_data:
|
56 |
+
with st.spinner('Caricamento in corso...'):
|
57 |
+
options = requests.get(URL_APP_SCRIPT).json()
|
58 |
+
st.session_state.options = options
|
59 |
+
st.session_state.loaded_data = True
|
60 |
|
61 |
def sidebar() :
|
62 |
def retrieval_settings() :
|