From 2f26f9327ed1c626da48ae98461522ed5b08e5f6 Mon Sep 17 00:00:00 2001 From: Alejandro Gil Date: Sun, 6 Aug 2023 04:10:06 -0700 Subject: [PATCH] Fixed hydralit, hydralit_components and no_rerun import error again as pre-commit removed their imports for some reason after I fixed it before. --- scripts/sd_utils/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/sd_utils/__init__.py b/scripts/sd_utils/__init__.py index 05cc05df7..7f83b4f2f 100644 --- a/scripts/sd_utils/__init__.py +++ b/scripts/sd_utils/__init__.py @@ -16,6 +16,7 @@ # base webui import and utils. # from webui_streamlit import st import hydralit as st +import hydralit_components as hc # streamlit imports from streamlit.runtime.scriptrunner import StopException @@ -23,7 +24,8 @@ # from streamlit.runtime.scriptrunner import script_run_context # streamlit components section -from streamlit_server_state import server_state, server_state_lock +from streamlit_server_state import server_state, server_state_lock, no_rerun +import streamlit_nested_layout # from streamlitextras.threader import lock, trigger_rerun, \