karimouda commited on
Commit
a92eec7
·
1 Parent(s): 2fe1d39
Files changed (2) hide show
  1. app.py +1 -1
  2. src/leaderboard/read_evals.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def get_model_info_blocks(chosen_model_name):
209
 
210
 
211
  html_file_content,download_file_path = get_model_answers_html_file(EVAL_RESULTS_PATH, chosen_model_name)
212
- print(download_file_path)
213
  if html_file_content == "EMPTY":
214
  answers_html = gr.Markdown("")
215
  else:
 
209
 
210
 
211
  html_file_content,download_file_path = get_model_answers_html_file(EVAL_RESULTS_PATH, chosen_model_name)
212
+
213
  if html_file_content == "EMPTY":
214
  answers_html = gr.Markdown("")
215
  else:
src/leaderboard/read_evals.py CHANGED
@@ -253,7 +253,7 @@ def get_model_answers_html_file(results_path, model_name):
253
  with open(file_path, "r") as f:
254
 
255
  html_file_content = f.read()
256
- download_file_path = download_file_path + file_path
257
  break
258
 
259
  return html_file_content,download_file_path
 
253
  with open(file_path, "r") as f:
254
 
255
  html_file_content = f.read()
256
+ download_file_path = download_file_path + file_path.replace("./", "")
257
  break
258
 
259
  return html_file_content,download_file_path