harmdevries commited on
Commit
e6d0c32
1 Parent(s): 9d3b2cd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -1
app.py CHANGED
@@ -1,4 +1,5 @@
1
  from github import Github
 
2
  import os
3
  import streamlit as st
4
  import datetime
@@ -18,7 +19,10 @@ name2repo = [("Training", "bigcode-project/Megatron-LM"),
18
  ]
19
 
20
  name2num_milestones = dict()
21
- g = Github()
 
 
 
22
  df = list()
23
  all_status = list()
24
  bad_milestones = list()
 
1
  from github import Github
2
+ from github import Auth
3
  import os
4
  import streamlit as st
5
  import datetime
 
19
  ]
20
 
21
  name2num_milestones = dict()
22
+ github_key = os.environ['github']
23
+ auth = Auth.Token(github_key)
24
+
25
+ g = Github(auth=auth)
26
  df = list()
27
  all_status = list()
28
  bad_milestones = list()