Araeynn commited on
Commit
ffe645e
·
verified ·
1 Parent(s): 61cacf9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -407,7 +407,8 @@ async def on_message(message):
407
  np = """lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature"""
408
  st = time.time()
409
  # image, m = (await SD.text_to_image(imgp, negative_prompt=np, guidance), "Stable Diffusion 2-1")
410
- image, m = (await SDXL.text_to_image(imgp, negative_prompt=np), "stable-diffusion-xl-base-1.0")
 
411
  # image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
412
  image.save("image.png")
413
  file = discord.File("image.png", filename="image.png", description=imgp)
 
407
  np = """lowres, text, error, cropped, worst quality, low quality, jpeg artifacts, ugly, duplicate, morbid, mutilated, out of frame, extra fingers, mutated hands, poorly drawn hands, poorly drawn face, mutation, deformed, blurry, dehydrated, bad anatomy, bad proportions, extra limbs, cloned face, disfigured, gross proportions, malformed limbs, missing arms, missing legs, extra arms, extra legs, fused fingers, too many fingers, long neck, username, watermark, signature"""
408
  st = time.time()
409
  # image, m = (await SD.text_to_image(imgp, negative_prompt=np, guidance), "Stable Diffusion 2-1")
410
+ image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=8), "stable-diffusion-xl-base-1.0")
411
+ image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=4, guidance_scale=0.01), "sdxl-turbo")
412
  # image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
413
  image.save("image.png")
414
  file = discord.File("image.png", filename="image.png", description=imgp)