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

This commit is contained in:
0xMRTT 2023-06-21 11:32:54 +02:00
parent a9b9eee182
commit 529ddc1ea6
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -115,7 +115,7 @@ def run():
filename = str(uuid.uuid4()) + ".png" filename = str(uuid.uuid4()) + ".png"
style_enum = Style[style_value] style_enum = Style[style_value]
ratio_enum = Ratio[ratio_value] ratio_enum = Ratio[ratio_value]
img_data = await imagine.sdprem( img_data = imagine.sdprem(
prompt=image_prompt, prompt=image_prompt,
style=style_enum, style=style_enum,
ratio=ratio_enum, ratio=ratio_enum,