galb-dai commited on
Commit
68e6b55
·
1 Parent(s): 6446f53

Fix default args.

Browse files
Files changed (2) hide show
  1. app.py +1 -1
  2. src/submission/submit.py +1 -1
app.py CHANGED
@@ -187,8 +187,8 @@ with blocks:
187
  org,
188
  sys_type,
189
  submission_path,
190
- ensure_all_present=ENSURE_ALL_PRESENT,
191
  is_warmup_dataset=(SPLIT == "warmup"),
 
192
  )
193
 
194
  submit_button.click(
 
187
  org,
188
  sys_type,
189
  submission_path,
 
190
  is_warmup_dataset=(SPLIT == "warmup"),
191
+ ensure_all_present=ENSURE_ALL_PRESENT,
192
  )
193
 
194
  submit_button.click(
src/submission/submit.py CHANGED
@@ -46,8 +46,8 @@ def add_new_solutions(
46
  org: str,
47
  sys_type: str,
48
  submission_path: str,
49
- ensure_all_present: bool = False,
50
  is_warmup_dataset: bool,
 
51
  ):
52
  logger.info(
53
  f"Adding new submission! {system_name=}, {org=}, {sys_type=} and {submission_path=}",
 
46
  org: str,
47
  sys_type: str,
48
  submission_path: str,
 
49
  is_warmup_dataset: bool,
50
+ ensure_all_present: bool = False,
51
  ):
52
  logger.info(
53
  f"Adding new submission! {system_name=}, {org=}, {sys_type=} and {submission_path=}",