fixing logic for prompts that dont have negatives

This commit is contained in:
Luke Robles 2022-10-06 08:07:17 -07:00
parent 83e05c2b03
commit e7e616a77d
2 changed files with 3 additions and 1 deletions

View File

@ -74,6 +74,8 @@ class ActualUtils(commands.Cog):
port = "7860"
ip = "192.168.1.80"
steps = 20
negatives = ""
positives = prompt
# Send my requests to my gaming computer with the 3080 (if its up)
if ctx.message.author.id == 144986109804412928:
@ -90,7 +92,6 @@ class ActualUtils(commands.Cog):
original_message = await ctx.reply(
"Please be patient, I'm generating your image"
)
negatives = ""
if ";" in prompt:
positives = prompt.split(";")[0]
negatives = prompt.split(";")[1]

View File

@ -1,4 +1,5 @@
printf "\n[-] Formatting code\n"
find . -name "*sync-conflict*" -delete
./format_code.sh
printf "[+] Done\n"