Milad Alshomary commited on
Commit
051d45c
·
1 Parent(s): 7ec202e

remove ground-truth indicator

Browse files
Files changed (2) hide show
  1. app.py +2 -1
  2. utils/ui.py +1 -1
app.py CHANGED
@@ -20,7 +20,8 @@ from utils.file_download import download_file_override
20
  def load_config(path="config/config.yaml"):
21
  with open(path, "r") as f:
22
  return yaml.safe_load(f)
23
-
 
24
  cfg = load_config()
25
 
26
 
 
20
  def load_config(path="config/config.yaml"):
21
  with open(path, "r") as f:
22
  return yaml.safe_load(f)
23
+
24
+ # A comment to trigger change in spaces
25
  cfg = load_config()
26
 
27
 
utils/ui.py CHANGED
@@ -92,7 +92,7 @@ def update_task_display(mode, iid, instances, background_df, mystery_file, cand1
92
  iid = int(iid.replace('Task ', ''))
93
  data = instances[iid]
94
  predicted_author = data['latent_rank'][0]
95
- ground_truth_author = data['gt_idx']
96
  mystery_txt = data['Q_fullText']
97
  c1_txt = data['a0_fullText']
98
  c2_txt = data['a1_fullText']
 
92
  iid = int(iid.replace('Task ', ''))
93
  data = instances[iid]
94
  predicted_author = data['latent_rank'][0]
95
+ ground_truth_author = 100#data['gt_idx']
96
  mystery_txt = data['Q_fullText']
97
  c1_txt = data['a0_fullText']
98
  c2_txt = data['a1_fullText']