mirror of
https://github.com/open-webui/open-webui
synced 2024-11-24 21:13:59 +00:00
made the COMFYUI_FLUX_FP8_CLIP environment variable bool instead of str
this should fix #4328
This commit is contained in:
parent
a75a9c953a
commit
cdcf214455
@ -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(
|
||||||
|
Loading…
Reference in New Issue
Block a user