mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-13 18:02:31 +03:00
Merge Dev to Master (#1806)
This commit is contained in:
commit
37e0495459
@ -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, \
|
||||
|
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user