mirror of
https://github.com/lllyasviel/Fooocus.git
synced 2026-08-16 13:13:16 +02:00
refactor: code cleanup, move makedirs_with_log back to util
This commit is contained in:
+3
-2
@@ -1,7 +1,6 @@
|
||||
import os
|
||||
import json
|
||||
import math
|
||||
import re
|
||||
import numbers
|
||||
import args_manager
|
||||
import tempfile
|
||||
@@ -9,9 +8,11 @@ import modules.flags
|
||||
import modules.sdxl_styles
|
||||
|
||||
from modules.model_loader import load_file_from_url
|
||||
from modules.extra_utils import get_files_from_folder, makedirs_with_log
|
||||
from modules.util import makedirs_with_log
|
||||
from modules.extra_utils import get_files_from_folder
|
||||
from modules.flags import OutputFormat, Performance, MetadataScheme
|
||||
|
||||
|
||||
def get_config_path(key, default_value):
|
||||
env = os.getenv(key)
|
||||
if env is not None and isinstance(env, str):
|
||||
|
||||
Reference in New Issue
Block a user