Abhishek Thakur commited on
Commit
527614c
Β·
1 Parent(s): 42bb50f

use conf.json

Browse files
Files changed (2) hide show
  1. README.md +2 -2
  2. competitions/info.py +1 -1
README.md CHANGED
@@ -17,14 +17,14 @@ Create a competition checklist:
17
  β”œβ”€β”€ README.md
18
  β”œβ”€β”€ submission_info/
19
  β”œβ”€β”€ submissions/
20
- β”œβ”€β”€ conf
21
  β”œβ”€β”€ solution.csv
22
  β”œβ”€β”€ COMPETITION_DESC.md
23
  β”œβ”€β”€ SUBMISSION_DESC.md
24
 
25
  ````
26
 
27
- - Example content for `conf`:
28
 
29
  ```
30
  {
 
17
  β”œβ”€β”€ README.md
18
  β”œβ”€β”€ submission_info/
19
  β”œβ”€β”€ submissions/
20
+ β”œβ”€β”€ conf.json
21
  β”œβ”€β”€ solution.csv
22
  β”œβ”€β”€ COMPETITION_DESC.md
23
  β”œβ”€β”€ SUBMISSION_DESC.md
24
 
25
  ````
26
 
27
+ - Example content for `conf.json`:
28
 
29
  ```
30
  {
competitions/info.py CHANGED
@@ -16,7 +16,7 @@ class CompetitionInfo:
16
  try:
17
  config_fname = hf_hub_download(
18
  repo_id=self.competition_id,
19
- filename="conf",
20
  use_auth_token=self.autotrain_token,
21
  repo_type="dataset",
22
  )
 
16
  try:
17
  config_fname = hf_hub_download(
18
  repo_id=self.competition_id,
19
+ filename="conf.json",
20
  use_auth_token=self.autotrain_token,
21
  repo_type="dataset",
22
  )