fix: remove dead code
Some checks failed
black-action / runner / black formatter (push) Failing after -2s

This commit is contained in:
0xMRTT 2023-06-21 11:26:49 +02:00
parent c80e4db266
commit 51f1edb28d
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -36,7 +36,7 @@ import uuid
import subprocess
from pyimagine import Imagine
from pyimagine.constants import Inspiration
from pyimagine.constants import Inspiration, Style, Ratio
def run():
if not USERNAME or not SERVER or not PASSWORD:
@ -107,8 +107,8 @@ def run():
imagine = Imagine()
filename = str(uuid.uuid4()) + ".png"
style_enum = Style[style]
ratio_enum = Ratio[ratio]
# style_enum = Style[style]
# ratio_enum = Ratio[ratio]
img_data = await imagine.sdprem(
prompt=prompt,