antoinetran commited on
Commit
d2cd13f
·
verified ·
1 Parent(s): 39ac400

disable br encoding

Browse files
Files changed (1) hide show
  1. backend/examples.py +1 -1
backend/examples.py CHANGED
@@ -130,7 +130,7 @@ def build_infos(abs_path, datatype: str, dataset_name: str, db_key: str):
130
  if eval_results_path.startswith("http://") or eval_results_path.startswith(
131
  "https://"
132
  ):
133
- response = requests.get(eval_results_path)
134
  if response.status_code == 200:
135
  results_data = response.json()
136
  else:
 
130
  if eval_results_path.startswith("http://") or eval_results_path.startswith(
131
  "https://"
132
  ):
133
+ response = requests.get(eval_results_path, headers={"Accept-Encoding": "gzip, deflate"})
134
  if response.status_code == 200:
135
  results_data = response.json()
136
  else: