Add a progress bar

This commit is contained in:
oobabooga 2023-02-24 14:19:27 -03:00
parent 0817fe1beb
commit 0a3590da8c

View File

@ -294,7 +294,7 @@ if shared.args.chat or shared.args.cai_chat:
reload_inputs = [name1, name2] if shared.args.cai_chat else []
upload_chat_history.upload(reload_func, reload_inputs, [display])
upload_img_me.upload(reload_func, reload_inputs, [display])
interface.load(reload_func, reload_inputs, [display], show_progress=False)
interface.load(reload_func, reload_inputs, [display], show_progress=True)
elif shared.args.notebook:
with gr.Blocks(css=ui.css, analytics_enabled=False) as interface: