Araeynn commited on
Commit
6b4ca1a
·
verified ·
1 Parent(s): ffe645e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -407,7 +407,7 @@ 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, 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")
 
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")