Spaces:
Runtime error
Runtime error
Synced repo using 'sync_with_huggingface' Github Action
Browse files- codellama.py +3 -0
codellama.py
CHANGED
|
@@ -53,6 +53,9 @@ async def on_message(message):
|
|
| 53 |
async def try_codellama(ctx, prompt):
|
| 54 |
"""Generates code based on a given prompt"""
|
| 55 |
try:
|
|
|
|
|
|
|
|
|
|
| 56 |
global codellama_threadid_userid_dictionary
|
| 57 |
global codellama_threadid_conversation
|
| 58 |
|
|
|
|
| 53 |
async def try_codellama(ctx, prompt):
|
| 54 |
"""Generates code based on a given prompt"""
|
| 55 |
try:
|
| 56 |
+
if ctx.guild.id == 879548962464493619:
|
| 57 |
+
if ctx.channel.id != 1147210106321256508:
|
| 58 |
+
return
|
| 59 |
global codellama_threadid_userid_dictionary
|
| 60 |
global codellama_threadid_conversation
|
| 61 |
|