mirror of https://github.com/bmaltais/kohya_ss
Update sd-scripts and allow python 3.10 to 3.12
parent
b332b1df9d
commit
d47e3e6642
|
|
@ -1 +1 @@
|
|||
Subproject commit 0047bb1fc30a9987138a20f52f774ca536ff7b6a
|
||||
Subproject commit 2a188f07e682ed5dd958821a223d48c17a9aeb83
|
||||
|
|
@ -11,7 +11,7 @@ log = logging.getLogger("sd")
|
|||
|
||||
# Constants
|
||||
MIN_PYTHON_VERSION = (3, 10, 9)
|
||||
MAX_PYTHON_VERSION = (3, 11, 0)
|
||||
MAX_PYTHON_VERSION = (3, 13, 0)
|
||||
LOG_DIR = "../logs/setup/"
|
||||
LOG_LEVEL = "INFO" # Set to "INFO" or "WARNING" for less verbose logging
|
||||
|
||||
|
|
@ -31,7 +31,7 @@ def check_python_version():
|
|||
log.error(
|
||||
f"The current version of python ({sys.version}) is not supported."
|
||||
)
|
||||
log.error("The Python version must be >= 3.10.9 and < 3.11.0.")
|
||||
log.error("The Python version must be >= 3.10.9 and < 3.13.0.")
|
||||
return False
|
||||
return True
|
||||
except Exception as e:
|
||||
|
|
|
|||
Loading…
Reference in New Issue