@@ -565,7 +565,11 @@ def build_side_by_side_vision_ui_named(context: Context, random_questions=None):
565565 multimodal_textbox .submit (
566566 add_text ,
567567 states + model_selectors + [multimodal_textbox , context_state ],
568- states + chatbots + [multimodal_textbox , textbox , send_btn ] + btn_list + [show_vote_buttons ],
568+ states
569+ + chatbots
570+ + [multimodal_textbox , textbox , send_btn ]
571+ + btn_list
572+ + [show_vote_buttons ],
569573 ).then (set_invisible_image , [], [image_column ]).then (
570574 bot_response_multi ,
571575 states + [temperature , top_p , max_output_tokens ],
@@ -577,7 +581,11 @@ def build_side_by_side_vision_ui_named(context: Context, random_questions=None):
577581 textbox .submit (
578582 add_text ,
579583 states + model_selectors + [textbox , context_state ],
580- states + chatbots + [multimodal_textbox , textbox , send_btn ] + btn_list + [show_vote_buttons ],
584+ states
585+ + chatbots
586+ + [multimodal_textbox , textbox , send_btn ]
587+ + btn_list
588+ + [show_vote_buttons ],
581589 ).then (set_invisible_image , [], [image_column ]).then (
582590 bot_response_multi ,
583591 states + [temperature , top_p , max_output_tokens ],
@@ -589,7 +597,11 @@ def build_side_by_side_vision_ui_named(context: Context, random_questions=None):
589597 send_btn .click (
590598 add_text ,
591599 states + model_selectors + [textbox , context_state ],
592- states + chatbots + [multimodal_textbox , textbox , send_btn ] + btn_list + [show_vote_buttons ],
600+ states
601+ + chatbots
602+ + [multimodal_textbox , textbox , send_btn ]
603+ + btn_list
604+ + [show_vote_buttons ],
593605 ).then (set_invisible_image , [], [image_column ]).then (
594606 bot_response_multi ,
595607 states + [temperature , top_p , max_output_tokens ],
0 commit comments