Made sure the txt2vid tab shows a loading animation when the models are loading.

This commit is contained in:
ZeroCool940711 2022-09-29 01:06:54 -07:00
parent 07d935b445
commit ae263cb55e

View File

@ -416,7 +416,7 @@ def txt2vid(
# ------------------------------------------------------------------------------
#st.session_state["progress_bar_text"].text("Loading models...")
with st.session_state["progress_bar_text"]:
with st.session_state["progress_bar_text"].container():
with hc.HyLoader('Loading Models...', hc.Loaders.standard_loaders,index=[0]):
try:
if "model" in st.session_state: