Spaces:
Runtime error
Runtime error
seawolf2357
commited on
Commit
โข
9113f54
1
Parent(s):
257164f
Update app.py
Browse files
app.py
CHANGED
@@ -25,7 +25,7 @@ intents.message_content = True
|
|
25 |
translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ko-en")
|
26 |
|
27 |
# ํ๊ฒฝ ๋ณ์์์ ์ง์ ๋ ์ฑ๋ ID ๊ฐ์ ธ์ค๊ธฐ, ๊ธฐ๋ณธ๊ฐ ์ฌ์ฉ
|
28 |
-
TARGET_CHANNEL_ID =
|
29 |
|
30 |
# ๊ณ ์ ๋ ๋ค๊ฑฐํฐ๋ธ ํ๋กฌํํธ
|
31 |
negative_prompt = "blur, low quality, bad composition, ugly, disfigured, weird colors, low quality, jpeg artifacts, lowres, grainy, deformed structures, blurry, opaque, low contrast, distorted details, details are low"
|
|
|
25 |
translator = pipeline("translation", model="Helsinki-NLP/opus-mt-ko-en")
|
26 |
|
27 |
# ํ๊ฒฝ ๋ณ์์์ ์ง์ ๋ ์ฑ๋ ID ๊ฐ์ ธ์ค๊ธฐ, ๊ธฐ๋ณธ๊ฐ ์ฌ์ฉ
|
28 |
+
TARGET_CHANNEL_ID = os.getenv('DISCORD_CHANNEL_ID')
|
29 |
|
30 |
# ๊ณ ์ ๋ ๋ค๊ฑฐํฐ๋ธ ํ๋กฌํํธ
|
31 |
negative_prompt = "blur, low quality, bad composition, ugly, disfigured, weird colors, low quality, jpeg artifacts, lowres, grainy, deformed structures, blurry, opaque, low contrast, distorted details, details are low"
|