Remek commited on
Commit
7e788c4
1 Parent(s): 5a670fd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -110,7 +110,7 @@ with gr.Blocks(css="button.ok-button { background-color: #4CAF50 !important; }")
110
  prev_btn.click(on_prev, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
111
  next_btn.click(on_next, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
112
  ok_btn.click(on_ok, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
113
- rejected_btn.click(on_rejected, outputs=[instruction, chosen, rejected, chosen_score, rejected_status])
114
 
115
  # Initialize UI with first record
116
  initial_record = viewer.get_current_record()
 
110
  prev_btn.click(on_prev, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
111
  next_btn.click(on_next, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
112
  ok_btn.click(on_ok, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
113
+ rejected_btn.click(on_rejected, outputs=[instruction, chosen, rejected, chosen_score, rejected_score, status])
114
 
115
  # Initialize UI with first record
116
  initial_record = viewer.get_current_record()