Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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("
|
| 21 |
else:
|
| 22 |
if len(list_of_repos)==1:
|
| 23 |
-
st.markdown("
|
| 24 |
else:
|
| 25 |
-
st.markdown(f"
|
| 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))
|