Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
@@ -215,7 +215,7 @@ async def on_message(message):
|
|
215 |
e = await message.reply(embed=embed)
|
216 |
if imgp != "":
|
217 |
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"""
|
218 |
-
image = await
|
219 |
image.save("image.png")
|
220 |
embed.set_footer(
|
221 |
text=
|
|
|
215 |
e = await message.reply(embed=embed)
|
216 |
if imgp != "":
|
217 |
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"""
|
218 |
+
image = await SD.text_to_image(imgp, negative_prompt=np)
|
219 |
image.save("image.png")
|
220 |
embed.set_footer(
|
221 |
text=
|