Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -21,6 +21,12 @@ intents.guild_messages = True
|
|
| 21 |
# 추론 API 클라이언트 설정
|
| 22 |
hf_client = InferenceClient(token=os.getenv("HF_TOKEN"))
|
| 23 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
class MyClient(discord.Client):
|
| 25 |
def __init__(self, *args, **kwargs):
|
| 26 |
super().__init__(*args, **kwargs)
|
|
|
|
| 21 |
# 추론 API 클라이언트 설정
|
| 22 |
hf_client = InferenceClient(token=os.getenv("HF_TOKEN"))
|
| 23 |
|
| 24 |
+
|
| 25 |
+
# SPECIFIC_CHANNEL_ID를 원하는 채널의 숫자 ID로 정의
|
| 26 |
+
SPECIFIC_CHANNEL_ID = 1251774883113734167 # 실제 채널 ID로 교체하세요
|
| 27 |
+
|
| 28 |
+
|
| 29 |
+
|
| 30 |
class MyClient(discord.Client):
|
| 31 |
def __init__(self, *args, **kwargs):
|
| 32 |
super().__init__(*args, **kwargs)
|