Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -97,13 +97,13 @@ for category in categories.keys():
|
|
97 |
# ------------------------------------------------------
|
98 |
|
99 |
# Add space URLs
|
100 |
-
df['url'] = 'https://huggingface.co/spaces/' + df['id']
|
101 |
|
102 |
# Let's show the top 10 spaces from each category with their links
|
103 |
# print("Top 10 spaces in each category with links:")
|
104 |
-
for category in categories.keys():
|
105 |
# print(f"\n=== {category} ===")
|
106 |
-
top_10 = df[df['category'] == category].nlargest(10, 'likes')[['title', 'likes', 'url']]
|
107 |
# Format output with padding for better readability
|
108 |
# print(top_5.to_string(index=False))
|
109 |
|
|
|
97 |
# ------------------------------------------------------
|
98 |
|
99 |
# Add space URLs
|
100 |
+
# df['url'] = 'https://huggingface.co/spaces/' + df['id']
|
101 |
|
102 |
# Let's show the top 10 spaces from each category with their links
|
103 |
# print("Top 10 spaces in each category with links:")
|
104 |
+
#for category in categories.keys():
|
105 |
# print(f"\n=== {category} ===")
|
106 |
+
# top_10 = df[df['category'] == category].nlargest(10, 'likes')[['title', 'likes', 'url']]
|
107 |
# Format output with padding for better readability
|
108 |
# print(top_5.to_string(index=False))
|
109 |
|