allow multi-track drifting (multiple images to retcon)
This commit is contained in:
@@ -5,8 +5,6 @@
|
||||
import openai
|
||||
from typing import Iterable
|
||||
from openai.types.chat import ChatCompletionMessageParam
|
||||
from openai._types import FileTypes, SequenceNotStr
|
||||
from typing import Union
|
||||
from io import BufferedReader, BytesIO
|
||||
|
||||
|
||||
@@ -138,7 +136,7 @@ def image_generation(prompt: str, openai_url: str, openai_api_key: str, n=1) ->
|
||||
|
||||
|
||||
def image_edit(
|
||||
image: BufferedReader | BytesIO,
|
||||
image: BufferedReader | BytesIO | list[BufferedReader] | list[BytesIO],
|
||||
prompt: str,
|
||||
openai_url: str,
|
||||
openai_api_key: str,
|
||||
|
||||
Reference in New Issue
Block a user