mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-17 06:45:24 +00:00
fix: backend format test
This commit is contained in:
parent
549817627f
commit
204a4fbe7a
1 changed files with 3 additions and 3 deletions
|
|
@ -377,9 +377,9 @@ async def comfyui_generate_image(
|
||||||
comfyui_prompt["12"]["inputs"]["weight_dtype"] = payload.flux_weight_dtype
|
comfyui_prompt["12"]["inputs"]["weight_dtype"] = payload.flux_weight_dtype
|
||||||
|
|
||||||
if payload.flux_fp8_clip:
|
if payload.flux_fp8_clip:
|
||||||
comfyui_prompt["11"]["inputs"]["clip_name2"] = (
|
comfyui_prompt["11"]["inputs"][
|
||||||
"t5xxl_fp8_e4m3fn.safetensors"
|
"clip_name2"
|
||||||
)
|
] = "t5xxl_fp8_e4m3fn.safetensors"
|
||||||
|
|
||||||
comfyui_prompt["5"]["inputs"]["batch_size"] = payload.n
|
comfyui_prompt["5"]["inputs"]["batch_size"] = payload.n
|
||||||
comfyui_prompt["5"]["inputs"]["width"] = payload.width
|
comfyui_prompt["5"]["inputs"]["width"] = payload.width
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue