huggingbots / app.py

Commit History

[dfif] api_name = '/generate64'
6dd568f

lunarflu HF Staff commited on

[dfif] stage_1_results, stage_1_param_path, stage_1_result_path = await asyncio.get_running_loop().run_in_executor
54c827e

lunarflu HF Staff commited on

[dfif][sketch] removed all variables related to 'sketch'
8214fe2

lunarflu HF Staff commited on

[dfif][disney] style var -> 'disney'
426d079

lunarflu HF Staff commited on

[dfif] GRADIOTEST_TOKEN
1a4a3a8

lunarflu HF Staff commited on

[dfif] fix
07cd144

lunarflu HF Staff commited on

[dfif stable revert] run_in_executor added for jojo
54389af

lunarflu HF Staff commited on

Update app.py
cd3f2d7

lunarflu HF Staff commited on

Update app.py
eb0988a

lunarflu HF Staff commited on

Update app.py
409c3d4

lunarflu HF Staff commited on

demo.queue(concurrency_count=4)
381ff2f

lunarflu HF Staff commited on

Update app.py
88d5346

lunarflu HF Staff commited on

Update app.py
04b6845

lunarflu HF Staff commited on

Update app.py
4c610fc

lunarflu HF Staff commited on

Update app.py
e8b1c8f

lunarflu HF Staff commited on

Update app.py
f87b648

lunarflu HF Staff commited on

await semaphore.acquire()
ab54bd2

lunarflu HF Staff commited on

Update app.py
69dff14

lunarflu HF Staff commited on

Update app.py
834b337

lunarflu HF Staff commited on

Update app.py
a266b3e

lunarflu HF Staff commited on

Update app.py
3d12a7c

lunarflu HF Staff commited on

Update app.py
bf54bc6

lunarflu HF Staff commited on

async with semaphore:
0615999

lunarflu HF Staff commited on

Update app.py
411d4c3

lunarflu HF Staff commited on

revert to [stable] parallelism with times
3c5ffd1

lunarflu HF Staff commited on

def run_jojo(ctx):
da45b63

lunarflu HF Staff commited on

Jojo image generated in {total_time:.2f} seconds.
482e724

lunarflu HF Staff commited on

await asyncio.get_running_loop().run_in_executor(None, await run_jojo(ctx))
77fccd5

lunarflu HF Staff commited on

Update app.py
4f1a644

lunarflu HF Staff commited on

reorganization
41e66b2

lunarflu HF Staff commited on

Update app.py
a661bc3

lunarflu HF Staff commited on

Update app.py
6245db1

lunarflu HF Staff commited on

await asyncio.sleep(0.5), await ctx.message.reply(f'active threads: {activethreadcount}')
06ddfd4

lunarflu HF Staff commited on

activethreadcount = active_count()
f42e7d1

lunarflu HF Staff commited on

def get_total_threads():
448abf5

lunarflu HF Staff commited on

Update app.py
3f98253

lunarflu HF Staff commited on

Update app.py
fe6d40e

lunarflu HF Staff commited on

added im = await etc
e86677c

lunarflu HF Staff commited on

await asyncio.get_running_loop().run_in_executor(None, jojogan.predict, attachment.url, style)
d78932e

lunarflu HF Staff commited on

await asyncio.to_thread(jojogan.predict
75abc54

lunarflu HF Staff commited on

concurrent.futures
956c50d

lunarflu HF Staff commited on

Update app.py
a697e01

lunarflu HF Staff commited on

Update app.py
0fd21c2

lunarflu HF Staff commited on

Update app.py
8d38d87

lunarflu HF Staff commited on

im = await asyncio.to_thread(generation, attachment)
62d72ad

lunarflu HF Staff commited on

added commas in asyncio.gather
9b3563d

lunarflu HF Staff commited on

await asyncio.gather(
3189729

lunarflu HF Staff commited on

asyncio.create_task
85b6226

lunarflu HF Staff commited on

if attachment:
602130d

lunarflu HF Staff commited on

Update app.py
0e6b97a

lunarflu HF Staff commited on