mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-14 06:35:14 +03:00
Merge Dev to Master (#1806)
This commit is contained in:
commit
37e0495459
@ -16,6 +16,7 @@
|
|||||||
# base webui import and utils.
|
# base webui import and utils.
|
||||||
# from webui_streamlit import st
|
# from webui_streamlit import st
|
||||||
import hydralit as st
|
import hydralit as st
|
||||||
|
import hydralit_components as hc
|
||||||
|
|
||||||
# streamlit imports
|
# streamlit imports
|
||||||
from streamlit.runtime.scriptrunner import StopException
|
from streamlit.runtime.scriptrunner import StopException
|
||||||
@ -23,7 +24,9 @@ from streamlit.runtime.scriptrunner import StopException
|
|||||||
# from streamlit.runtime.scriptrunner import script_run_context
|
# from streamlit.runtime.scriptrunner import script_run_context
|
||||||
|
|
||||||
# streamlit components section
|
# 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, \
|
# from streamlitextras.threader import lock, trigger_rerun, \
|
||||||
# streamlit_thread, get_thread, \
|
# streamlit_thread, get_thread, \
|
||||||
|
@ -24,9 +24,9 @@ from sd_utils import (
|
|||||||
hc,
|
hc,
|
||||||
load_configs,
|
load_configs,
|
||||||
load_css,
|
load_css,
|
||||||
set_logger_verbosity,
|
#set_logger_verbosity,
|
||||||
logger,
|
logger,
|
||||||
quiesce_logger,
|
#quiesce_logger,
|
||||||
set_page_title,
|
set_page_title,
|
||||||
threading,
|
threading,
|
||||||
random,
|
random,
|
||||||
@ -340,8 +340,8 @@ def layout():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
set_logger_verbosity(opt.verbosity)
|
#set_logger_verbosity(opt.verbosity)
|
||||||
quiesce_logger(opt.quiet)
|
#quiesce_logger(opt.quiet)
|
||||||
|
|
||||||
if not opt.headless:
|
if not opt.headless:
|
||||||
layout()
|
layout()
|
||||||
|
Loading…
Reference in New Issue
Block a user