Update modules/shared.py

Co-authored-by: catboxanon <122327233+catboxanon@users.noreply.github.com>
This commit is contained in:
Andray 2024-03-11 07:40:15 +04:00 committed by GitHub
parent eb10da8bb7
commit 2d57a2df66
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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.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 typing import TYPE_CHECKING
falseVar = False # avoid circular import for type hinting
if falseVar:
if TYPE_CHECKING:
from modules import shared_state, styles, interrogate, shared_total_tqdm, memmon
cmd_opts = shared_cmd_options.cmd_opts