From 37596fc2659b1e8778b3095e9d310d6711028f80 Mon Sep 17 00:00:00 2001 From: Zhijie Lin <136380243@qq.com> Date: Thu, 25 May 2023 17:16:04 +0800 Subject: [PATCH] test --- demo.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/demo.py b/demo.py index 2027b96..16e5f3b 100644 --- a/demo.py +++ b/demo.py @@ -165,7 +165,8 @@ with gr.Blocks() as demo: [image, text_input, upload_button, chat_state, emb_list]) text_input.submit(gradio_ask, [text_input, chatbot, chat_state], [text_input, chatbot, chat_state]).then( - image, upload_img, gradio_answer, [chatbot, chat_state, emb_list, num_beams, temperature], [image2, chatbot, chat_state, emb_list] + upload_img, gradio_answer, [image, chatbot, chat_state, emb_list, num_beams, temperature], + [image2, chatbot, chat_state, emb_list] ) clear.click(gradio_reset, [chat_state, emb_list], [chatbot, image, text_input, upload_button, chat_state, emb_list], queue=False)