Everyone gets 120 steps, nice quality for everyone

This commit is contained in:
Luke Robles 2023-10-25 11:30:18 -07:00
parent 00c7c1f75d
commit 7f1369e738
2 changed files with 2 additions and 3 deletions

View File

@ -3,7 +3,7 @@ ADD app/requirements.txt /requirements.txt
RUN pip install --disable-pip-version-check --verbose -r requirements.txt RUN pip install --disable-pip-version-check --verbose -r requirements.txt
FROM python:3.10-rc-slim FROM python:3.10-rc-slim
RUN apt-get update && apt-get install -y --no-install-recommends imagemagick vim jq RUN apt-get update && apt-get install -y --no-install-recommends imagemagick vim jq curl
RUN pip install black && echo "black .; ./bot.py" >/usr/local/bin/start && chmod +x /usr/local/bin/start RUN pip install black && echo "black .; ./bot.py" >/usr/local/bin/start && chmod +x /usr/local/bin/start
COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages COPY --from=0 /usr/local/lib/python3.10/site-packages /usr/local/lib/python3.10/site-packages
ADD app /app ADD app /app

View File

@ -35,12 +35,11 @@ class StableDiffusion(commands.Cog):
port = "7860" port = "7860"
ip = "192.168.1.5" ip = "192.168.1.5"
steps = 50 steps = 120
enable_upscale = "false" enable_upscale = "false"
# 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.author.id == core_utils.my_id: if ctx.author.id == core_utils.my_id:
steps = 120
ip = "192.168.1.19" ip = "192.168.1.19"
if "lora" not in positive_prompt: if "lora" not in positive_prompt:
positive_prompt = ( positive_prompt = (