Araeynn commited on
Commit
16ccf01
·
verified ·
1 Parent(s): 27d6900

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -407,7 +407,7 @@ 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=4, guidance_scale=0.01), "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 +418,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", num_inference_steps=5), "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 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
  )
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=