Araeynn commited on
Commit
d086a67
1 Parent(s): 6ee2953

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -10
app.py CHANGED
@@ -192,21 +192,23 @@ async def on_message(message):
192
  description=output.replace(
193
  f"<|title|>{title}<|title|>", "").replace(f"<|image|>{imgp}<|image|>", ""),
194
  color=0x1E81B0)
195
- embed.set_footer(
196
- text=
197
- """Information or code generated by Lyre may not always be correct. Lyre was made by Araeyn."""
198
- )
199
  if imgp != "":
200
  embed.set_image(url=load)
 
 
 
 
 
 
 
 
 
 
 
201
  e = await message.reply(embed=embed)
202
  print(imgp)
203
  if imgp != "":
204
- embed.set_footer(
205
- text=
206
- """Creating..."""
207
- )
208
- await e.edit(embed=embed)
209
- image = SD.text_to_image(imgp)
210
  image.save("image.png")
211
  embed.set_footer(
212
  text=
 
192
  description=output.replace(
193
  f"<|title|>{title}<|title|>", "").replace(f"<|image|>{imgp}<|image|>", ""),
194
  color=0x1E81B0)
 
 
 
 
195
  if imgp != "":
196
  embed.set_image(url=load)
197
+ embed.set_footer(
198
+ text=
199
+ """Creating..."""
200
+ )
201
+ else:
202
+ embed.set_footer(
203
+ text=
204
+ """Information or code generated by Lyre may not always be correct. Lyre was made by Araeyn."""
205
+ )
206
+ else:
207
+
208
  e = await message.reply(embed=embed)
209
  print(imgp)
210
  if imgp != "":
211
+ image = await SD.text_to_image(imgp)
 
 
 
 
 
212
  image.save("image.png")
213
  embed.set_footer(
214
  text=