Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -37,7 +37,7 @@ async def hello_command(interaction):
|
|
37 |
async def generate_command(
|
38 |
interaction: discord.Interaction,
|
39 |
prompt: str,
|
40 |
-
images:
|
41 |
):
|
42 |
try:
|
43 |
await interaction.response.defer() # Defer the interaction
|
|
|
37 |
async def generate_command(
|
38 |
interaction: discord.Interaction,
|
39 |
prompt: str,
|
40 |
+
images: List[discord.Attachment] = None,
|
41 |
):
|
42 |
try:
|
43 |
await interaction.response.defer() # Defer the interaction
|