Richard Guo commited on
Commit
783de92
1 Parent(s): 85ebb29

updated gitignore

Browse files
Files changed (2) hide show
  1. .gitignore +3 -1
  2. main.py +2 -2
.gitignore CHANGED
@@ -157,4 +157,6 @@ cython_debug/
157
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
  # and can be added to the global gitignore or merged into this file. For a more nuclear
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
- #.idea/
 
 
 
157
  # be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
158
  # and can be added to the global gitignore or merged into this file. For a more nuclear
159
  # option (not recommended) you can uncomment the following to ignore the entire idea folder.
160
+ #.idea/
161
+
162
+ .DS_Store
main.py CHANGED
@@ -32,12 +32,12 @@ def upload_atlas_task(task_id,
32
 
33
  if webhook_notify:
34
  discussion = create_discussion(
35
- repo_id=webhook_payload.repo.id,
36
  title="Atlas Maps",
37
  token=HUGGINGFACE_ACCESS_TOKEN,
38
  )
39
  comment_discussion(
40
- repo_id=webhook_payload.repo.id,
41
  discussion_num=discussion.num,
42
  comment="Atlas Map: " + map_url,
43
  token=HUGGINGFACE_ACCESS_TOKEN
 
32
 
33
  if webhook_notify:
34
  discussion = create_discussion(
35
+ repo_id=webhook_payload.repo.name,
36
  title="Atlas Maps",
37
  token=HUGGINGFACE_ACCESS_TOKEN,
38
  )
39
  comment_discussion(
40
+ repo_id=webhook_payload.repo.name,
41
  discussion_num=discussion.num,
42
  comment="Atlas Map: " + map_url,
43
  token=HUGGINGFACE_ACCESS_TOKEN