Merge Dev to Master (#1806)

This commit is contained in:
Alejandro Gil 2023-07-26 17:10:01 -07:00 committed by GitHub
commit 37e0495459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 5 deletions

View File

@ -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,9 @@ from streamlit.runtime.scriptrunner import StopException
# 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, \
# streamlit_thread, get_thread, \

View File

@ -24,9 +24,9 @@ from sd_utils import (
hc,
load_configs,
load_css,
set_logger_verbosity,
#set_logger_verbosity,
logger,
quiesce_logger,
#quiesce_logger,
set_page_title,
threading,
random,
@ -340,8 +340,8 @@ def layout():
if __name__ == "__main__":
set_logger_verbosity(opt.verbosity)
quiesce_logger(opt.quiet)
#set_logger_verbosity(opt.verbosity)
#quiesce_logger(opt.quiet)
if not opt.headless:
layout()