Merge pull request #313 from yolain/v1.2.2-beta

Fix get comfyui revision more add int type conversion
This commit is contained in:
yolain
2024-08-16 17:59:10 +08:00
committed by GitHub
+1 -1
View File
@@ -59,7 +59,7 @@ from .py.libs.utils import get_comfyui_revision
comfyui_revision = get_comfyui_revision()
new_frontend_revision = 2546
web_default_version = 'v2' if comfyui_revision >= new_frontend_revision else 'v1'
web_default_version = 'v2' if int(comfyui_revision) >= new_frontend_revision else 'v1'
# web directory
config_path = os.path.join(cwd_path, "config.yaml")
if os.path.isfile(config_path):