Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -58,7 +58,6 @@ class MyClient(discord.Client):
|
|
58 |
await message.channel.send(
|
59 |
f"<@{user_id}> λμ΄ μμ²νμ μ΄λ―Έμ§μ
λλ€.\n"
|
60 |
f"μ¬μ©λ μλ: {used_seed}\n"
|
61 |
-
# f"λ²μλ ν둬ννΈ: {translated_prompt}",
|
62 |
file=discord.File(image_path)
|
63 |
)
|
64 |
# μ΄λ―Έμ§ μμ± ν μ€λͺ
μ 곡 λ° λν
|
@@ -95,7 +94,6 @@ class MyClient(discord.Client):
|
|
95 |
image_path, used_seed, translated_prompt = result
|
96 |
logging.info(f"μμ±λ μ΄λ―Έμ§ κ²½λ‘: {image_path}")
|
97 |
logging.info(f"μ¬μ©λ μλ: {used_seed}")
|
98 |
-
logging.info(f"λ²μλ ν둬ννΈ: {translated_prompt}")
|
99 |
|
100 |
return image_path, used_seed, translated_prompt
|
101 |
else:
|
|
|
58 |
await message.channel.send(
|
59 |
f"<@{user_id}> λμ΄ μμ²νμ μ΄λ―Έμ§μ
λλ€.\n"
|
60 |
f"μ¬μ©λ μλ: {used_seed}\n"
|
|
|
61 |
file=discord.File(image_path)
|
62 |
)
|
63 |
# μ΄λ―Έμ§ μμ± ν μ€λͺ
μ 곡 λ° λν
|
|
|
94 |
image_path, used_seed, translated_prompt = result
|
95 |
logging.info(f"μμ±λ μ΄λ―Έμ§ κ²½λ‘: {image_path}")
|
96 |
logging.info(f"μ¬μ©λ μλ: {used_seed}")
|
|
|
97 |
|
98 |
return image_path, used_seed, translated_prompt
|
99 |
else:
|