lvwerra HF staff commited on
Commit
da1ef91
β€’
1 Parent(s): 6affb2e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,10 +17,10 @@ if st.button("Check!"):
17
  list_of_repos = [repo_name for repo_name in repo_names if repo_name.split("/")[0]==username]
18
 
19
  if len(list_of_repos)==0:
20
- st.markdown("**There is no repository under that username in The Stack**")
21
  else:
22
  if len(list_of_repos)==1:
23
- st.markdown("**There is 1 repository under that username in The Stack:**")
24
  else:
25
- st.markdown(f"**There are {len(list_of_repos)} repositories under that username in The Stack:**")
26
  st.text("\n".join(list_of_repos))
 
17
  list_of_repos = [repo_name for repo_name in repo_names if repo_name.split("/")[0]==username]
18
 
19
  if len(list_of_repos)==0:
20
+ st.markdown("There is **no repository** under that username in The Stack.")
21
  else:
22
  if len(list_of_repos)==1:
23
+ st.markdown("There is **1 repository** under that username in The Stack:")
24
  else:
25
+ st.markdown(f"There are **{len(list_of_repos)} repositories** under that username in The Stack:")
26
  st.text("\n".join(list_of_repos))