mirror of
https://git.datalinker.icu/comfyanonymous/ComfyUI
synced 2026-09-09 02:27:02 +08:00
Ruff.
This commit is contained in:
parent
daf1fab89b
commit
3ae7ecfe82
@ -100,7 +100,6 @@ class IdeogramTextToImage(ComfyNodeABC):
|
|||||||
def api_call(self, prompt, model, aspect_ratio=None, resolution=None,
|
def api_call(self, prompt, model, aspect_ratio=None, resolution=None,
|
||||||
magic_prompt_option="AUTO", seed=0, style_type="NONE",
|
magic_prompt_option="AUTO", seed=0, style_type="NONE",
|
||||||
negative_prompt="", num_images=1, color_palette="", auth_token=None):
|
negative_prompt="", num_images=1, color_palette="", auth_token=None):
|
||||||
import io
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import requests
|
import requests
|
||||||
@ -243,7 +242,6 @@ class OpenAITextToImage(ComfyNodeABC):
|
|||||||
# TODO: add NEW MODEL
|
# TODO: add NEW MODEL
|
||||||
|
|
||||||
|
|
||||||
import io
|
|
||||||
|
|
||||||
import numpy as np
|
import numpy as np
|
||||||
import torch
|
import torch
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user