Abhishek Thakur
commited on
Commit
·
99c5748
1
Parent(s):
a1d6fad
fix
Browse files
.github/workflows/delete_doc_comment.yml
DELETED
|
@@ -1,13 +0,0 @@
|
|
| 1 |
-
name: Delete doc comment
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
workflow_run:
|
| 5 |
-
workflows: ["Delete doc comment trigger"]
|
| 6 |
-
types:
|
| 7 |
-
- completed
|
| 8 |
-
|
| 9 |
-
jobs:
|
| 10 |
-
delete:
|
| 11 |
-
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
|
| 12 |
-
secrets:
|
| 13 |
-
comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.github/workflows/delete_doc_comment_trigger.yml
DELETED
|
@@ -1,12 +0,0 @@
|
|
| 1 |
-
name: Delete doc comment trigger
|
| 2 |
-
|
| 3 |
-
on:
|
| 4 |
-
pull_request:
|
| 5 |
-
types: [ closed ]
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
jobs:
|
| 9 |
-
delete:
|
| 10 |
-
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment_trigger.yml@main
|
| 11 |
-
with:
|
| 12 |
-
pr_number: ${{ github.event.number }}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
competitions/templates/index.html
CHANGED
|
@@ -72,10 +72,8 @@
|
|
| 72 |
|
| 73 |
const userToken = document.getElementById('user_token').value;
|
| 74 |
const payload = {
|
| 75 |
-
|
| 76 |
-
|
| 77 |
-
user_token: userToken
|
| 78 |
-
}
|
| 79 |
};
|
| 80 |
|
| 81 |
fetch('/leaderboard', {
|
|
|
|
| 72 |
|
| 73 |
const userToken = document.getElementById('user_token').value;
|
| 74 |
const payload = {
|
| 75 |
+
lb: leaderboardType,
|
| 76 |
+
user_token: userToken
|
|
|
|
|
|
|
| 77 |
};
|
| 78 |
|
| 79 |
fetch('/leaderboard', {
|