mirror of
https://github.com/Vision-CAIR/MiniGPT-4.git
synced 2025-04-08 20:10:48 +00:00
test
This commit is contained in:
parent
37596fc265
commit
b5bbd4a2f2
2
demo.py
2
demo.py
@ -165,7 +165,7 @@ 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(
|
||||
upload_img, gradio_answer, [image, chatbot, chat_state, emb_list, num_beams, temperature],
|
||||
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],
|
||||
|
Loading…
Reference in New Issue
Block a user