Merge pull request #4333 from JohnTheNerd/comfyui-fix

fix: made the COMFYUI_FLUX_FP8_CLIP environment variable bool instead of str
This commit is contained in:
Timothy Jaeryang Baek 2024-08-04 14:08:44 +02:00 committed by GitHub
commit 8074289a8f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1317,7 +1317,7 @@ COMFYUI_FLUX_WEIGHT_DTYPE = PersistentConfig(
COMFYUI_FLUX_FP8_CLIP = PersistentConfig( COMFYUI_FLUX_FP8_CLIP = PersistentConfig(
"COMFYUI_FLUX_FP8_CLIP", "COMFYUI_FLUX_FP8_CLIP",
"image_generation.comfyui.flux_fp8_clip", "image_generation.comfyui.flux_fp8_clip",
os.getenv("COMFYUI_FLUX_FP8_CLIP", ""), os.environ.get("COMFYUI_FLUX_FP8_CLIP", "").lower() == "true",
) )
IMAGES_OPENAI_API_BASE_URL = PersistentConfig( IMAGES_OPENAI_API_BASE_URL = PersistentConfig(