Shafeek Saleem commited on
Commit
c1a413c
·
1 Parent(s): 66ed417
0_Introduction.py CHANGED
@@ -2,8 +2,8 @@ import streamlit as st
2
  from utils.levels import complete_level, initialize_level, render_page, get_level
3
  from utils.login import initialize_login
4
 
5
- # initialize_login()
6
- # initialize_level()
7
 
8
  LEVEL=0
9
 
 
2
  from utils.levels import complete_level, initialize_level, render_page, get_level
3
  from utils.login import initialize_login
4
 
5
+ initialize_login()
6
+ initialize_level()
7
 
8
  LEVEL=0
9
 
pages/1_Weather Forecasting and It's Applications.py CHANGED
@@ -2,7 +2,7 @@ import streamlit as st
2
  from utils.levels import complete_level, render_page, initialize_level
3
  LEVEL = 1
4
 
5
- # initialize_level()
6
 
7
  def step1_page():
8
  st.header("Weather Forecasting and It's Applications")
 
2
  from utils.levels import complete_level, render_page, initialize_level
3
  LEVEL = 1
4
 
5
+ initialize_level()
6
 
7
  def step1_page():
8
  st.header("Weather Forecasting and It's Applications")
pages/2_Technology Behind It.py CHANGED
@@ -1,7 +1,7 @@
1
  import streamlit as st
2
  from utils.levels import complete_level, render_page, initialize_level
3
 
4
- # initialize_level()
5
 
6
  LEVEL = 2
7
 
 
1
  import streamlit as st
2
  from utils.levels import complete_level, render_page, initialize_level
3
 
4
+ initialize_level()
5
 
6
  LEVEL = 2
7
 
pages/3_Training the Model.py CHANGED
@@ -16,8 +16,8 @@ from io import BytesIO
16
  from PIL import Image, ImageFilter
17
  import lightgbm as lgb
18
 
19
- # initialize_login()
20
- # initialize_level()
21
 
22
  LEVEL = 3
23
 
 
16
  from PIL import Image, ImageFilter
17
  import lightgbm as lgb
18
 
19
+ initialize_login()
20
+ initialize_level()
21
 
22
  LEVEL = 3
23