lvwerra HF staff commited on
Commit
7f1c847
β€’
1 Parent(s): b9f3732

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -24
app.py CHANGED
@@ -15,27 +15,4 @@ n_repos = len(repo_names)
15
 
16
  username = st.text_input("GitHub Username:")
17
 
18
- st.markdown("Note: this Space is currently under construction.")
19
-
20
- """
21
- if st.button("Check!"):
22
-
23
-
24
- list_of_repos = []
25
- progress_bar = st.progress(0.0)
26
-
27
- for i in range(n_repos):
28
- progress_bar.progress((i + 1)/n_repos)
29
- if repo_names[i].split("/")[0]==username:
30
- list_of_repos.append(repo_names[i])
31
-
32
- if len(list_of_repos)==0:
33
- st.markdown("There is **no repository** under that username in The Stack.")
34
- else:
35
- if len(list_of_repos)==1:
36
- st.markdown("There is **1 repository** under that username in The Stack:")
37
- else:
38
- st.markdown(f"There are **{len(list_of_repos)} repositories** under that username in The Stack:")
39
- st.text("\n".join(list_of_repos))
40
-
41
- """
 
15
 
16
  username = st.text_input("GitHub Username:")
17
 
18
+ st.markdown("_Note_: this Space is currently under construction.")