Hao Xu commited on
Commit
93fce18
·
1 Parent(s): 7357a15

update contam server call

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -193,7 +193,7 @@ def record_submission(benchmark_name, contributor, jsonl_file, hf_path, hf_split
193
  if has_jsonl:
194
  files['file'] = (benchmark_name.strip() + '.jsonl', open(jsonl_file.name, 'rb'), 'application/json')
195
 
196
- response = requests.post(f"{URL}/submit", data=data, files=files, timeout=30)
197
 
198
  if files:
199
  files['file'][1].close()
 
193
  if has_jsonl:
194
  files['file'] = (benchmark_name.strip() + '.jsonl', open(jsonl_file.name, 'rb'), 'application/json')
195
 
196
+ response = requests.post(f"{URL}/", data=data, files=files, timeout=30)
197
 
198
  if files:
199
  files['file'][1].close()