Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
|
@@ -148,7 +148,7 @@ def run_dffusion(pos_prompt: str,neg_promt: str = "",img_url= "",model="absolute
|
|
| 148 |
|
| 149 |
# AI prediction command
|
| 150 |
@bot.slash_command(name='diffusion',description='AI command to generate images')
|
| 151 |
-
async def diffusion(ctx
|
| 152 |
pos_prompt: discord.option(discord.SlashCommandOptionType.string,description="The positive prompt for the image generation."),
|
| 153 |
neg_promt: discord.option(discord.SlashCommandOptionType.string, description="The negative prompt for the image generation.", default=""),
|
| 154 |
img_url : discord.option(discord.SlashCommandOptionType.string, description="The input image for the image generation.", default=""),
|
|
|
|
| 148 |
|
| 149 |
# AI prediction command
|
| 150 |
@bot.slash_command(name='diffusion',description='AI command to generate images')
|
| 151 |
+
async def diffusion(ctx,
|
| 152 |
pos_prompt: discord.option(discord.SlashCommandOptionType.string,description="The positive prompt for the image generation."),
|
| 153 |
neg_promt: discord.option(discord.SlashCommandOptionType.string, description="The negative prompt for the image generation.", default=""),
|
| 154 |
img_url : discord.option(discord.SlashCommandOptionType.string, description="The input image for the image generation.", default=""),
|