Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -64,8 +64,8 @@ if st.button("sync"):
|
|
64 |
st.session_state['sync'] = True
|
65 |
# Load button to fetch repo data (simulated with mock data)
|
66 |
if st.session_state['sync']:
|
67 |
-
contributors_list = get_contributors(
|
68 |
-
branches_list = get_repo_branches(
|
69 |
|
70 |
st.session_state['selected_branches'] = branches_list
|
71 |
st.session_state['selected_contributor'] = '' # Reset selected contributor
|
|
|
64 |
st.session_state['sync'] = True
|
65 |
# Load button to fetch repo data (simulated with mock data)
|
66 |
if st.session_state['sync']:
|
67 |
+
contributors_list = get_contributors(st.session_state['reponame'], updated_token=st.session_state['private_token'])
|
68 |
+
branches_list = get_repo_branches(st.session_state['reponame'], updated_token=st.session_state['private_token'])
|
69 |
|
70 |
st.session_state['selected_branches'] = branches_list
|
71 |
st.session_state['selected_contributor'] = '' # Reset selected contributor
|