aaditya commited on
Commit
18370f2
1 Parent(s): faca677

Update src/backend/run_eval_suite.py

Browse files
Files changed (1) hide show
  1. src/backend/run_eval_suite.py +5 -1
src/backend/run_eval_suite.py CHANGED
@@ -77,10 +77,14 @@ def run_evaluation(eval_request: EvalRequest, task_names, num_fewshot, batch_siz
77
  print(f"Selected Tasks: {task_names}")
78
 
79
  url = os.environ.get("URL")
 
 
 
 
80
 
81
  data = {"args": f"pretrained={eval_request.model}"}
82
  print("datasending", data)
83
- response = requests.post(url, json=data)
84
  print("response, response", response)
85
  results_full = {'results': {}, 'config': {}}
86
 
 
77
  print(f"Selected Tasks: {task_names}")
78
 
79
  url = os.environ.get("URL")
80
+
81
+ headers = {
82
+ 'bypass-tunnel-reminder': 'anyvalue'
83
+ }
84
 
85
  data = {"args": f"pretrained={eval_request.model}"}
86
  print("datasending", data)
87
+ response = requests.post(url, json=data, headers=headers)
88
  print("response, response", response)
89
  results_full = {'results': {}, 'config': {}}
90