Add Instruct mode

This commit is contained in:
oobabooga 2023-04-05 11:49:59 -03:00
parent 3d6cb5ed63
commit e722c240af
9 changed files with 217 additions and 105 deletions

View file

@ -176,4 +176,4 @@ def ui():
force_btn.click(force_pic)
generate_now_btn.click(force_pic)
generate_now_btn.click(eval('chat.cai_chatbot_wrapper'), shared.input_params, shared.gradio['display'], show_progress=shared.args.no_stream)
generate_now_btn.click(chat.cai_chatbot_wrapper, shared.input_params, shared.gradio['display'], show_progress=shared.args.no_stream)