Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
204a4fbe
Commit
204a4fbe
authored
Aug 08, 2024
by
Michael Poluektov
Browse files
fix: backend format test
parent
54981762
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
backend/apps/images/utils/comfyui.py
backend/apps/images/utils/comfyui.py
+3
-3
No files found.
backend/apps/images/utils/comfyui.py
View file @
204a4fbe
...
...
@@ -377,9 +377,9 @@ async def comfyui_generate_image(
comfyui_prompt
[
"12"
][
"inputs"
][
"weight_dtype"
]
=
payload
.
flux_weight_dtype
if
payload
.
flux_fp8_clip
:
comfyui_prompt
[
"11"
][
"inputs"
][
"clip_name2"
]
=
(
"
t5xxl_fp8_e4m3fn.safetensors
"
)
comfyui_prompt
[
"11"
][
"inputs"
][
"
clip_name2
"
]
=
"t5xxl_fp8_e4m3fn.safetensors"
comfyui_prompt
[
"5"
][
"inputs"
][
"batch_size"
]
=
payload
.
n
comfyui_prompt
[
"5"
][
"inputs"
][
"width"
]
=
payload
.
width
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment