Update app.py
Browse files
app.py
CHANGED
@@ -141,6 +141,9 @@ def combine_images(png_files, stage_1_images, partial_path):
|
|
141 |
async def deepfloydif_generate64(ctx, prompt):
|
142 |
"""DeepfloydIF command (generate images with realistic text using slash commands)"""
|
143 |
try:
|
|
|
|
|
|
|
144 |
channel = ctx.channel
|
145 |
# interaction.response message can't be used to create a thread, so we create another message
|
146 |
message = await ctx.send(f"**{prompt}** - {ctx.author.mention} (generating...)")
|
|
|
141 |
async def deepfloydif_generate64(ctx, prompt):
|
142 |
"""DeepfloydIF command (generate images with realistic text using slash commands)"""
|
143 |
try:
|
144 |
+
if ctx.guild.id == 879548962464493619:
|
145 |
+
if ctx.channel.id != 1119313215675973714:
|
146 |
+
return
|
147 |
channel = ctx.channel
|
148 |
# interaction.response message can't be used to create a thread, so we create another message
|
149 |
message = await ctx.send(f"**{prompt}** - {ctx.author.mention} (generating...)")
|