Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -462,8 +462,8 @@ async def on_message(message):
|
|
462 |
if imgp != "":
|
463 |
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"""
|
464 |
st = time.time()
|
465 |
-
|
466 |
-
image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=8), "stable-diffusion-xl-base-1.0")
|
467 |
# image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.0), "sdxl-turbo")
|
468 |
# image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.0), "sd-turbo")
|
469 |
# image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
|
|
|
462 |
if imgp != "":
|
463 |
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"""
|
464 |
st = time.time()
|
465 |
+
image, m = (await SD.text_to_image(imgp, negative_prompt=np), "Stable Diffusion 2-1")
|
466 |
+
# image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=8), "stable-diffusion-xl-base-1.0")
|
467 |
# image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.0), "sdxl-turbo")
|
468 |
# image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.0), "sd-turbo")
|
469 |
# image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
|