mirror of
https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
synced 2024-06-07 21:20:49 +00:00
Update modules/shared.py
Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
This commit is contained in:
parent
eb10da8bb7
commit
2d57a2df66
@ -6,9 +6,9 @@ import gradio as gr
|
|||||||
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
|
from modules import shared_cmd_options, shared_gradio_themes, options, shared_items, sd_models_types
|
||||||
from modules.paths_internal import models_path, script_path, data_path, sd_configs_path, sd_default_config, sd_model_file, default_sd_model_file, extensions_dir, extensions_builtin_dir # noqa: F401
|
from modules.paths_internal import models_path, script_path, data_path, sd_configs_path, sd_default_config, sd_model_file, default_sd_model_file, extensions_dir, extensions_builtin_dir # noqa: F401
|
||||||
from modules import util
|
from modules import util
|
||||||
|
from typing import TYPE_CHECKING
|
||||||
|
|
||||||
falseVar = False # avoid circular import for type hinting
|
if TYPE_CHECKING:
|
||||||
if falseVar:
|
|
||||||
from modules import shared_state, styles, interrogate, shared_total_tqdm, memmon
|
from modules import shared_state, styles, interrogate, shared_total_tqdm, memmon
|
||||||
|
|
||||||
cmd_opts = shared_cmd_options.cmd_opts
|
cmd_opts = shared_cmd_options.cmd_opts
|
||||||
|
Loading…
Reference in New Issue
Block a user