Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Update model name in imagine.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
MrlolDev committed Jan 18, 2024
1 parent 7ff4dcb commit 846f0a7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/bot/commands/imagine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default createCommand({
["SDXL · Latest Stable Diffusion model", "sdxl"],
["TURBO XL · Faster version of SDXL", "turboxl"],
["Fustercluck · SDXL model trained for creating cartoony or anime style images", "fustercluck"],
["ICBINP XL · Model trained on highly-realistic images", "icbninp"],
["ICBINP XL · Model trained on highly-realistic images", "icbinp"],
["AlbedoBase XL (SDXL) · SDXL model without refiner", "albedobase"],
// ["DALL-E 3 · Latest DALL-E model", "dalle3"],
/* ["Kandinsky · Multi-lingual latent diffusion model", "kandinsky"],*/
Expand Down Expand Up @@ -125,6 +125,7 @@ export default createCommand({
modelName = setting;
}
const model = IMAGE_MODELS.find((x) => x.id === modelName);
console.log(modelName);
if (!model) {
await interaction.edit({
content: "The model you specified does not exist.",
Expand Down Expand Up @@ -166,8 +167,9 @@ export default createCommand({
embeds: [
{
color: config.brand.color,
title: `Waiting in queue <${loadingIndicator.emoji.animated ? "a" : ""}:${loadingIndicator.emoji.name}:${loadingIndicator.emoji.id
}>`,
title: `Waiting in queue <${loadingIndicator.emoji.animated ? "a" : ""}:${loadingIndicator.emoji.name}:${
loadingIndicator.emoji.id
}>`,
},
],
});
Expand All @@ -177,8 +179,9 @@ export default createCommand({
embeds: [
{
color: config.brand.color,
title: `Generating <${loadingIndicator.emoji.animated ? "a" : ""}:${loadingIndicator.emoji.name}:${loadingIndicator.emoji.id
}>`,
title: `Generating <${loadingIndicator.emoji.animated ? "a" : ""}:${loadingIndicator.emoji.name}:${
loadingIndicator.emoji.id
}>`,
},
],
});
Expand Down

0 comments on commit 846f0a7

Please sign in to comment.