Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jul 27, 2023
1 parent 4138917 commit 4e873ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
4 changes: 1 addition & 3 deletions scripts/sd_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,14 @@
# 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

# from streamlit.runtime.scriptrunner import script_run_context

# streamlit components section
from streamlit_server_state import server_state, server_state_lock, no_rerun
import streamlit_nested_layout
from streamlit_server_state import server_state, server_state_lock


# from streamlitextras.threader import lock, trigger_rerun, \
Expand Down
8 changes: 4 additions & 4 deletions scripts/webui_streamlit.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
hc,
load_configs,
load_css,
#set_logger_verbosity,
# set_logger_verbosity,
logger,
#quiesce_logger,
# quiesce_logger,
set_page_title,
threading,
random,
Expand Down Expand Up @@ -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()
Expand Down

0 comments on commit 4e873ca

Please sign in to comment.