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
|
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,
|
||||||
|
Loading…
Reference in New Issue
Block a user