Synced repo using 'sync_with_huggingface' Github Action
Browse files
app.py
CHANGED
|
@@ -151,13 +151,10 @@ def run_dffusion(pos_prompt: str,neg_promt: str = "",img_url= None,model="absolu
|
|
| 151 |
|
| 152 |
|
| 153 |
# AI prediction command
|
| 154 |
-
@bot.
|
| 155 |
-
name="diffusion",
|
| 156 |
-
description="creates an AI generated image"
|
| 157 |
-
)
|
| 158 |
async def diffusion(ctx, pos_prompt: str="",neg_promt: str = "", img_url= None,improve : Literal["True","False"] = "False",model : models = "absolutereality_v181.safetensors [3d9d4d2b]"):
|
| 159 |
"""
|
| 160 |
-
AI command to
|
| 161 |
"""
|
| 162 |
# if channel name is == channel_name
|
| 163 |
try:
|
|
|
|
| 151 |
|
| 152 |
|
| 153 |
# AI prediction command
|
| 154 |
+
@bot.slash_command(name='diffusion',description='AI command to generate images',)
|
|
|
|
|
|
|
|
|
|
| 155 |
async def diffusion(ctx, pos_prompt: str="",neg_promt: str = "", img_url= None,improve : Literal["True","False"] = "False",model : models = "absolutereality_v181.safetensors [3d9d4d2b]"):
|
| 156 |
"""
|
| 157 |
+
AI command to generate images
|
| 158 |
"""
|
| 159 |
# if channel name is == channel_name
|
| 160 |
try:
|