rafaldembski commited on
Commit
1a4c9fa
1 Parent(s): 92ae931

Update pages/Statistics.py

Browse files
Files changed (1) hide show
  1. pages/Statistics.py +2 -4
pages/Statistics.py CHANGED
@@ -18,11 +18,9 @@ page_translations = {
18
  }
19
  }
20
 
21
- def show_statistics(language):
22
  st.header(page_translations[language]['header'])
23
  st.write(page_translations[language]['content'])
24
  # Tutaj dodaj resztę funkcjonalności statystyk
25
 
26
- if __name__ == "__main__":
27
- show_statistics(st.session_state.language)
28
-
 
18
  }
19
  }
20
 
21
+ def main(language):
22
  st.header(page_translations[language]['header'])
23
  st.write(page_translations[language]['content'])
24
  # Tutaj dodaj resztę funkcjonalności statystyk
25
 
26
+ # Do not include "if __name__ == '__main__':" block in pages