MatteoScript commited on
Commit
71fb55c
·
verified ·
1 Parent(s): f7a9344

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -8
app.py CHANGED
@@ -372,11 +372,15 @@ def login_page():
372
  else:
373
  st.error("Username o password errati")
374
 
375
- if 'initialized' not in st.session_state:
376
- st.session_state['initialized'] = True
377
- inizializza()
378
- st.set_page_config(layout='wide')
379
- if not st.session_state['logged_in']:
380
- login_page()
381
- if st.session_state['logged_in']:
382
- main()
 
 
 
 
 
372
  else:
373
  st.error("Username o password errati")
374
 
375
+ inizializza()
376
+ st.set_page_config(layout='wide')
377
+ main()
378
+
379
+ #if 'initialized' not in st.session_state:
380
+ # st.session_state['initialized'] = True
381
+ # inizializza()
382
+ # st.set_page_config(layout='wide')
383
+ #if not st.session_state['logged_in']:
384
+ # login_page()
385
+ #if st.session_state['logged_in']:
386
+ # main()