Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -488,11 +488,11 @@ async def on_message(message):
|
|
488 |
if imageModel == "Stable Diffusion 2-1":
|
489 |
image, m = (await SD.text_to_image(imgp, negative_prompt=np), "Stable Diffusion 2-1")
|
490 |
elif imageModel == "stable-diffusion-xl-base-1.0":
|
491 |
-
image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=
|
492 |
elif imageModel == "sdxl-turbo":
|
493 |
-
image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=
|
494 |
elif imageModel == "sd-turbo":
|
495 |
-
image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=
|
496 |
elif imageModel == "Proteus v0.2":
|
497 |
image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
|
498 |
else:
|
|
|
488 |
if imageModel == "Stable Diffusion 2-1":
|
489 |
image, m = (await SD.text_to_image(imgp, negative_prompt=np), "Stable Diffusion 2-1")
|
490 |
elif imageModel == "stable-diffusion-xl-base-1.0":
|
491 |
+
image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=32), "stable-diffusion-xl-base-1.0")
|
492 |
elif imageModel == "sdxl-turbo":
|
493 |
+
image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=8, guidance_scale=0.0), "sdxl-turbo")
|
494 |
elif imageModel == "sd-turbo":
|
495 |
+
image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=8, guidance_scale=0.0), "sd-turbo")
|
496 |
elif imageModel == "Proteus v0.2":
|
497 |
image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
|
498 |
else:
|