@@ -242,6 +242,7 @@ def vote_last_response(
242242 + (gr .Row (visible = True ),) # next_battle_row: show
243243 + (gr .HTML (visible = False ),) # page_header: hide
244244 + (gr .Row (visible = False ),) # textbox_row: hide
245+ + (gr .HTML (visible = False ),) # disclaimer: hide
245246 )
246247
247248
@@ -443,7 +444,7 @@ def add_text(
443444 + [gr .Column (visible = False )] # example_prompts_group: hide
444445 + [gr .HTML (visible = False )] # page_header: hide
445446 + [gr .Row (visible = True )] # textbox_row: show
446- + [gr .HTML (visible = False )] # disclaimer: hide
447+ + [gr .HTML (visible = True )] # disclaimer: show
447448 )
448449
449450
@@ -563,23 +564,23 @@ def build_side_by_side_ui_anony():
563564 model_selectors
564565 + [textbox ]
565566 + [left_vote_btn , tie_btn , right_vote_btn ]
566- + [voting_row , next_battle_row , page_header , textbox_row ],
567+ + [voting_row , next_battle_row , page_header , textbox_row , disclaimer ],
567568 )
568569 right_vote_btn .click (
569570 right_vote_last_response ,
570571 states + [battle_session ] + model_selectors ,
571572 model_selectors
572573 + [textbox ]
573574 + [left_vote_btn , tie_btn , right_vote_btn ]
574- + [voting_row , next_battle_row , page_header , textbox_row ],
575+ + [voting_row , next_battle_row , page_header , textbox_row , disclaimer ],
575576 )
576577 tie_btn .click (
577578 tie_vote_last_response ,
578579 states + [battle_session ] + model_selectors ,
579580 model_selectors
580581 + [textbox ]
581582 + [left_vote_btn , tie_btn , right_vote_btn ]
582- + [voting_row , next_battle_row , page_header , textbox_row ],
583+ + [voting_row , next_battle_row , page_header , textbox_row , disclaimer ],
583584 )
584585 clear_btn .click (
585586 lambda battle_session : clear_history (battle_session , None , example_prompt_ui ),
0 commit comments