jedick commited on
Commit
50f75fc
·
1 Parent(s): 0fc99d7

Reorder feedback columns

Browse files
Files changed (2) hide show
  1. app.py +6 -8
  2. feedback.py +3 -4
app.py CHANGED
@@ -300,18 +300,17 @@ with gr.Blocks(title="Noteworthy Differences") as demo:
300
  page_title,
301
  number_behind,
302
  units_behind,
303
- old_revision,
304
- new_revision,
305
  old_timestamp,
306
  new_timestamp,
 
 
307
  heuristic_rationale,
308
  fewshot_rationale,
309
  judge_reasoning,
310
- noteworthy_text,
311
- confidence_score,
312
  heuristic_noteworthy,
313
  fewshot_noteworthy,
314
  judge_noteworthy,
 
315
  ],
316
  api_name=False,
317
  )
@@ -322,18 +321,17 @@ with gr.Blocks(title="Noteworthy Differences") as demo:
322
  page_title,
323
  number_behind,
324
  units_behind,
325
- old_revision,
326
- new_revision,
327
  old_timestamp,
328
  new_timestamp,
 
 
329
  heuristic_rationale,
330
  fewshot_rationale,
331
  judge_reasoning,
332
- noteworthy_text,
333
- confidence_score,
334
  heuristic_noteworthy,
335
  fewshot_noteworthy,
336
  judge_noteworthy,
 
337
  ],
338
  api_name=False,
339
  )
 
300
  page_title,
301
  number_behind,
302
  units_behind,
 
 
303
  old_timestamp,
304
  new_timestamp,
305
+ old_revision,
306
+ new_revision,
307
  heuristic_rationale,
308
  fewshot_rationale,
309
  judge_reasoning,
 
 
310
  heuristic_noteworthy,
311
  fewshot_noteworthy,
312
  judge_noteworthy,
313
+ confidence_score,
314
  ],
315
  api_name=False,
316
  )
 
321
  page_title,
322
  number_behind,
323
  units_behind,
 
 
324
  old_timestamp,
325
  new_timestamp,
326
+ old_revision,
327
+ new_revision,
328
  heuristic_rationale,
329
  fewshot_rationale,
330
  judge_reasoning,
 
 
331
  heuristic_noteworthy,
332
  fewshot_noteworthy,
333
  judge_noteworthy,
334
+ confidence_score,
335
  ],
336
  api_name=False,
337
  )
feedback.py CHANGED
@@ -46,18 +46,17 @@ def save_feedback(*args, feedback_value: str) -> None:
46
  "page_title",
47
  "number_behind",
48
  "units_behind",
49
- "old_revision",
50
- "new_revision",
51
  "old_timestamp",
52
  "new_timestamp",
 
 
53
  "heuristic_rationale",
54
  "fewshot_rationale",
55
  "judge_reasoning",
56
- "noteworthy_text",
57
- "confidence_score",
58
  "heuristic_noteworthy",
59
  "fewshot_noteworthy",
60
  "judge_noteworthy",
 
61
  ]
62
  feedback_dict = dict(zip(keys, args))
63
 
 
46
  "page_title",
47
  "number_behind",
48
  "units_behind",
 
 
49
  "old_timestamp",
50
  "new_timestamp",
51
+ "old_revision",
52
+ "new_revision",
53
  "heuristic_rationale",
54
  "fewshot_rationale",
55
  "judge_reasoning",
 
 
56
  "heuristic_noteworthy",
57
  "fewshot_noteworthy",
58
  "judge_noteworthy",
59
+ "confidence_score",
60
  ]
61
  feedback_dict = dict(zip(keys, args))
62