Update app.py
Browse files
app.py
CHANGED
@@ -48,9 +48,7 @@ async def jojo(ctx):
|
|
48 |
start_time = time.time()
|
49 |
attachment = await discord_before(ctx)
|
50 |
if attachment:
|
51 |
-
semaphore.acquire()
|
52 |
asyncio.create_task(generation(ctx, attachment, start_time))
|
53 |
-
semaphore.release()
|
54 |
#await generation(ctx, attachment)
|
55 |
|
56 |
async def discord_before(ctx):
|
|
|
48 |
start_time = time.time()
|
49 |
attachment = await discord_before(ctx)
|
50 |
if attachment:
|
|
|
51 |
asyncio.create_task(generation(ctx, attachment, start_time))
|
|
|
52 |
#await generation(ctx, attachment)
|
53 |
|
54 |
async def discord_before(ctx):
|