lunarflu HF Staff commited on
Commit
8c0a4ea
·
1 Parent(s): ad54df9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -69,6 +69,9 @@ async def try_codellama(ctx, prompt):
69
 
70
  def codellama_initial_generation(prompt, thread):
71
  """Job.submit inside of run_in_executor = more consistent bot behavior"""
 
 
 
72
  global codellama_threadid_conversation
73
 
74
  chat_history = f"{thread.id}.json"
 
69
 
70
  def codellama_initial_generation(prompt, thread):
71
  """Job.submit inside of run_in_executor = more consistent bot behavior"""
72
+ if ctx.guild.id == 879548962464493619:
73
+ if ctx.channel.id != 1147210106321256508:
74
+ return
75
  global codellama_threadid_conversation
76
 
77
  chat_history = f"{thread.id}.json"