Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -28,9 +28,10 @@ usernames = load_all_usernames()
|
|
28 |
t_load = f"{time.time()-t_load:.2f}"
|
29 |
username = st.text_input("Your GitHub Username:")
|
30 |
|
31 |
-
|
32 |
|
33 |
if username or st.button("Check!"):
|
|
|
34 |
if username in usernames:
|
35 |
repos = usernames[username]
|
36 |
repo_word = "repository" if len(repos)==1 else "repositories"
|
@@ -40,5 +41,5 @@ if username or st.button("Check!"):
|
|
40 |
else:
|
41 |
st.markdown("**No**, your code is not in The Stack.")
|
42 |
|
43 |
-
t_display = f"{time.time()-t_display:.2f}"
|
44 |
-
st.markdown(f"_load: {t_load}s, display: {t_display}_")
|
|
|
28 |
t_load = f"{time.time()-t_load:.2f}"
|
29 |
username = st.text_input("Your GitHub Username:")
|
30 |
|
31 |
+
|
32 |
|
33 |
if username or st.button("Check!"):
|
34 |
+
t_display = time.time()
|
35 |
if username in usernames:
|
36 |
repos = usernames[username]
|
37 |
repo_word = "repository" if len(repos)==1 else "repositories"
|
|
|
41 |
else:
|
42 |
st.markdown("**No**, your code is not in The Stack.")
|
43 |
|
44 |
+
t_display = f"{time.time()-t_display:.2f}"
|
45 |
+
st.markdown(f"_load: {t_load}s, display: {t_display}_")
|