Lakoc commited on
Commit
8ebb1b8
·
verified ·
1 Parent(s): ab23637

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -14,8 +14,8 @@ EXPECTED_TOKEN = os.environ.get("SUBMISSION_TOKEN")
14
 
15
 
16
  def get_datasets_for_task(task):
17
- path = os.path.join("references", task)
18
- print(path, os.path.exists(path))
19
  if not os.path.exists(path):
20
  return []
21
  return [f.replace(".json", "") for f in os.listdir(path) if f.endswith(".json")]
 
14
 
15
 
16
  def get_datasets_for_task(task):
17
+ path = os.path.join("./references", task)
18
+ print(path, os.path.exists("./references"), os.path.exists(path))
19
  if not os.path.exists(path):
20
  return []
21
  return [f.replace(".json", "") for f in os.listdir(path) if f.endswith(".json")]