Spaces:
Running
Running
append "all commits"
#4
by
sayakpaul
HF Staff
- opened
app.py
CHANGED
@@ -29,7 +29,10 @@ def get_release_notes(
|
|
29 |
result = ""
|
30 |
contributors = {}
|
31 |
|
32 |
-
for commit in commits[::-1]:
|
|
|
|
|
|
|
33 |
if "Hugging Face" not in commit.user.organizations:
|
34 |
if commit.user.name not in contributors:
|
35 |
contributors[commit.user.name] = Contributions(
|
|
|
29 |
result = ""
|
30 |
contributors = {}
|
31 |
|
32 |
+
for idx, commit in enumerate(commits[::-1]):
|
33 |
+
if idx == 0:
|
34 |
+
result += "## All commits\n\n"
|
35 |
+
|
36 |
if "Hugging Face" not in commit.user.organizations:
|
37 |
if commit.user.name not in contributors:
|
38 |
contributors[commit.user.name] = Contributions(
|