Araeynn commited on
Commit
8ffb6dc
1 Parent(s): a45512e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -331,7 +331,7 @@ async def on_message(message):
331
  Use emojis at the start of your responses.
332
  Use <|title|> at the start of your title for the response and <|title|> at the end of the title.
333
  Your title is a conversation name that ChatGPT would make for the response and question.
334
- Always include a title.
335
  If the user asks you to generate an image, use the start tag <|image|> and the end tag <|image|> around the prompt to generate it. Put this at the end of your response. Do not use a link for the image.
336
  For example, if the user asks you to generate an image of a cat, you could say <|image|>A cute cat with long fur that is looking out a window with curious eyes, hd, realistic<|image|>
337
  Do not generate images unless the user speciifes that they want an image.
@@ -408,7 +408,7 @@ async def on_message(message):
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)
 
331
  Use emojis at the start of your responses.
332
  Use <|title|> at the start of your title for the response and <|title|> at the end of the title.
333
  Your title is a conversation name that ChatGPT would make for the response and question.
334
+ Always include a title, both the start tag and the end tag.
335
  If the user asks you to generate an image, use the start tag <|image|> and the end tag <|image|> around the prompt to generate it. Put this at the end of your response. Do not use a link for the image.
336
  For example, if the user asks you to generate an image of a cat, you could say <|image|>A cute cat with long fur that is looking out a window with curious eyes, hd, realistic<|image|>
337
  Do not generate images unless the user speciifes that they want an image.
 
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)