Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -524,7 +524,7 @@ async def on_message(message):
|
|
524 |
elif imageModel == "sd-turbo":
|
525 |
image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=8, guidance_scale=0.0), "sd-turbo")
|
526 |
elif imageModel == "Proteus v0.2":
|
527 |
-
image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
|
528 |
else:
|
529 |
raise NotImplementedError(f"Model {imageModel} not found. Report this to @araeyn if this keeps happening.")
|
530 |
image.save(f"{imgn}.png")
|
|
|
524 |
elif imageModel == "sd-turbo":
|
525 |
image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=8, guidance_scale=0.0), "sd-turbo")
|
526 |
elif imageModel == "Proteus v0.2":
|
527 |
+
image, m = (await PT.text_to_image(imgp, negative_prompt=np, num_inference_steps=35), "Proteus v0.2")
|
528 |
else:
|
529 |
raise NotImplementedError(f"Model {imageModel} not found. Report this to @araeyn if this keeps happening.")
|
530 |
image.save(f"{imgn}.png")
|