fix: type
Some checks failed
black-action / runner / black formatter (push) Failing after -1s

This commit is contained in:
0xMRTT 2023-06-21 10:52:05 +02:00
parent 9362ec4563
commit 32777cca5c
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -576,7 +576,7 @@ class AsyncImagine:
) as resp: ) as resp:
return await resp.read() return await resp.read()
async def sdprem(self, prompt: str, negative: str | bool = None, priority: str = None, steps: str = None, async def sdprem(self, prompt: str, negative: str = None, priority: str = None, steps: str = None,
high_res_results: str = None, style: Style = Style.IMAGINE_V1, seed: str = None, high_res_results: str = None, style: Style = Style.IMAGINE_V1, seed: str = None,
ratio: Ratio = Ratio.RATIO_1X1, cfg: float = 9.5) -> bytes | None: ratio: Ratio = Ratio.RATIO_1X1, cfg: float = 9.5) -> bytes | None:
"""Generates AI Art.""" """Generates AI Art."""