Synced repo using 'sync_with_huggingface' Github Action
Browse files- wuerstchen.py +3 -0
wuerstchen.py
CHANGED
@@ -70,6 +70,9 @@ def wuerstchen_inference(prompt):
|
|
70 |
async def run_wuerstchen(ctx, prompt):
|
71 |
"""Responds to /Wuerstchen command"""
|
72 |
try:
|
|
|
|
|
|
|
73 |
message = await ctx.send(f"**{prompt}** - {ctx.author.mention} (generating...)")
|
74 |
|
75 |
loop = asyncio.get_running_loop()
|
|
|
70 |
async def run_wuerstchen(ctx, prompt):
|
71 |
"""Responds to /Wuerstchen command"""
|
72 |
try:
|
73 |
+
if ctx.guild.id == 879548962464493619:
|
74 |
+
if ctx.channel.id != 1151792944676864041:
|
75 |
+
return
|
76 |
message = await ctx.send(f"**{prompt}** - {ctx.author.mention} (generating...)")
|
77 |
|
78 |
loop = asyncio.get_running_loop()
|