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