Spaces:
Paused
Paused
visioncairgroup commited on
Commit ·
4c8bd95
1
Parent(s): 6a94f14
Update app.py
Browse files451 unmodified lines45245345445545645745839 unmodified lines498499500501502503504451 unmodified linesvisual_img, _ = visualize_all_bbox_together(gr_img, user_message)if visual_img is not None:file_path = save_tmp_img(visual_img)path_list.append(file_path)chatbot = chatbot + [[(file_path,), None]]return text_box_show, chatbot, chat_state, img_list, upload_flag, replace_flag39 unmodified linesif len(generation_color):chatbot[-1][1] = generation_colorfile_path = save_tmp_img(visual_img)path_list.append(file_path)chatbot = chatbot + [[None, (file_path,)]]return chatbot451 unmodified lines45245345445545645745839 unmodified lines498499500501502503504451 unmodified linesvisual_img, _ = visualize_all_bbox_together(gr_img, user_message)if visual_img is not None:file_path = save_tmp_img(visual_img)# path_list.append(file_path)chatbot = chatbot + [[(file_path,), None]]return text_box_show, chatbot, chat_state, img_list, upload_flag, replace_flag39 unmodified linesif len(generation_color):chatbot[-1][1] = generation_colorfile_path = save_tmp_img(visual_img)# path_list.append(file_path)chatbot = chatbot + [[None, (file_path,)]]return chatbot
app.py+2-2