Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -56,10 +56,11 @@ class MyClient(discord.Client):
|
|
56 |
image_path, used_seed, translated_prompt = await self.generate_image(prompt)
|
57 |
user_id = message.author.id
|
58 |
await message.channel.send(
|
59 |
-
f"<@{user_id}> λμ΄ μμ²νμ μ΄λ―Έμ§μ
λλ€.\n",
|
60 |
-
f"μ¬μ©λ μλ: {used_seed}\n",
|
61 |
file=discord.File(image_path)
|
62 |
)
|
|
|
|
|
63 |
# μ΄λ―Έμ§ μμ± ν μ€λͺ
μ 곡 λ° λν
|
64 |
await initiate_conversation(prompt, message)
|
65 |
except RuntimeError as e:
|
|
|
56 |
image_path, used_seed, translated_prompt = await self.generate_image(prompt)
|
57 |
user_id = message.author.id
|
58 |
await message.channel.send(
|
59 |
+
content=f"<@{user_id}> λμ΄ μμ²νμ μ΄λ―Έμ§μ
λλ€.\nμ¬μ©λ μλ: {used_seed}\n",
|
|
|
60 |
file=discord.File(image_path)
|
61 |
)
|
62 |
+
|
63 |
+
|
64 |
# μ΄λ―Έμ§ μμ± ν μ€λͺ
μ 곡 λ° λν
|
65 |
await initiate_conversation(prompt, message)
|
66 |
except RuntimeError as e:
|