fix: remove dead code
Some checks failed
black-action / runner / black formatter (push) Failing after -2s
Some checks failed
black-action / runner / black formatter (push) Failing after -2s
This commit is contained in:
parent
c80e4db266
commit
51f1edb28d
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user