sayakpaul HF staff commited on
Commit
75025c2
1 Parent(s): 2cdcb68

append "all commits"

Browse files
Files changed (1) hide show
  1. app.py +4 -1
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(