Araeynn commited on
Commit
a45512e
1 Parent(s): 16ccf01

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -2
app.py CHANGED
@@ -407,7 +407,8 @@ async def on_message(message):
407
  st = time.time()
408
  # image, m = (await SD.text_to_image(imgp, negative_prompt=np, guidance), "Stable Diffusion 2-1")
409
  # image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=8), "stable-diffusion-xl-base-1.0")
410
- image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.00), "sdxl-turbo")
 
411
  # image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
412
  image.save("image.png")
413
  file = discord.File("image.png", filename="image.png", description=imgp)
@@ -418,7 +419,7 @@ async def on_message(message):
418
  )
419
  await e.edit(embed=embed, attachments=[file])
420
  gt = time.time()
421
- image, r = (await RF.image_to_image("image.png"), "stable-diffusion-xl-refiner-1.0")
422
  rt = time.time()
423
  embed.set_footer(
424
  text=
 
407
  st = time.time()
408
  # image, m = (await SD.text_to_image(imgp, negative_prompt=np, guidance), "Stable Diffusion 2-1")
409
  # image, m = (await SDXL.text_to_image(imgp, negative_prompt=np, num_inference_steps=8), "stable-diffusion-xl-base-1.0")
410
+ # image, m = (await SDXLT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.00), "sdxl-turbo")
411
+ # image, m = (await SDT.text_to_image(imgp, negative_prompt=np, num_inference_steps=1, guidance_scale=0.00), "sd-turbo")
412
  # image, m = (await PT.text_to_image(imgp, negative_prompt=np), "Proteus v0.2")
413
  image.save("image.png")
414
  file = discord.File("image.png", filename="image.png", description=imgp)
 
419
  )
420
  await e.edit(embed=embed, attachments=[file])
421
  gt = time.time()
422
+ image, r = (await RF.image_to_image("image.png", num_inference_steps=4), "stable-diffusion-xl-refiner-1.0")
423
  rt = time.time()
424
  embed.set_footer(
425
  text=