Spaces:
Paused
Paused
visioncairgroup commited on
Commit ·
0566ef0
1
Parent(s): bfcaa95
Update app.py
Browse files465 unmodified lines466467468469470471472465 unmodified linesdef gradio_stream_answer(chatbot, chat_state, img_list, temperature):if len(img_list) > 0:if not isinstance(img_list[0], torch.Tensor):chat.encode_img(img_list)streamer = chat.stream_answer(conv=chat_state,img_list=img_list,temperature=temperature,465 unmodified lines466467468469470471472465 unmodified linesdef gradio_stream_answer(chatbot, chat_state, img_list, temperature):if len(img_list) > 0:if not isinstance(img_list[0], torch.Tensor):img_list = chat.encode_img(img_list)streamer = chat.stream_answer(conv=chat_state,img_list=img_list,temperature=temperature,
app.py+1-1