lunarflu HF Staff commited on
Commit
de18672
·
1 Parent(s): b0b56a7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.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 == 1106994999712821329:
74
+ if ctx.channel.id != 1106995001155649680:
75
+ return
76
  message = await ctx.send(f"**{prompt}** - {ctx.author.mention} (generating...)")
77
 
78
  loop = asyncio.get_running_loop()