if attachment:
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ async def discord_before(ctx):
|
|
46 |
return False
|
47 |
|
48 |
async def generation(attachment):
|
49 |
-
if attachment
|
50 |
style = 'JoJo'
|
51 |
im = jojogan.predict(attachment.url, style)
|
52 |
return im
|
|
|
46 |
return False
|
47 |
|
48 |
async def generation(attachment):
|
49 |
+
if attachment:
|
50 |
style = 'JoJo'
|
51 |
im = jojogan.predict(attachment.url, style)
|
52 |
return im
|