Update app.py
Browse files
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,
|
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()
|