From ae263cb55ed3b5d6a2072064b11685df059e8453 Mon Sep 17 00:00:00 2001 From: ZeroCool940711 Date: Thu, 29 Sep 2022 01:06:54 -0700 Subject: [PATCH] Made sure the txt2vid tab shows a loading animation when the models are loading. --- scripts/txt2vid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/txt2vid.py b/scripts/txt2vid.py index a57faea..c572359 100644 --- a/scripts/txt2vid.py +++ b/scripts/txt2vid.py @@ -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: