fixing logic for prompts that dont have negatives
This commit is contained in:
parent
83e05c2b03
commit
e7e616a77d
@ -74,6 +74,8 @@ class ActualUtils(commands.Cog):
|
|||||||
port = "7860"
|
port = "7860"
|
||||||
ip = "192.168.1.80"
|
ip = "192.168.1.80"
|
||||||
steps = 20
|
steps = 20
|
||||||
|
negatives = ""
|
||||||
|
positives = prompt
|
||||||
|
|
||||||
# Send my requests to my gaming computer with the 3080 (if its up)
|
# Send my requests to my gaming computer with the 3080 (if its up)
|
||||||
if ctx.message.author.id == 144986109804412928:
|
if ctx.message.author.id == 144986109804412928:
|
||||||
@ -90,7 +92,6 @@ class ActualUtils(commands.Cog):
|
|||||||
original_message = await ctx.reply(
|
original_message = await ctx.reply(
|
||||||
"Please be patient, I'm generating your image"
|
"Please be patient, I'm generating your image"
|
||||||
)
|
)
|
||||||
negatives = ""
|
|
||||||
if ";" in prompt:
|
if ";" in prompt:
|
||||||
positives = prompt.split(";")[0]
|
positives = prompt.split(";")[0]
|
||||||
negatives = prompt.split(";")[1]
|
negatives = prompt.split(";")[1]
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
printf "\n[-] Formatting code\n"
|
printf "\n[-] Formatting code\n"
|
||||||
|
find . -name "*sync-conflict*" -delete
|
||||||
./format_code.sh
|
./format_code.sh
|
||||||
printf "[+] Done\n"
|
printf "[+] Done\n"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user