mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-10-19 15:33:54 +00:00
preload adjustments
This commit is contained in:
parent
e33f6e455b
commit
b823cc17da
2 changed files with 4 additions and 4 deletions
|
|
@ -4,7 +4,7 @@
|
|||
. "/ins/copy_A0.sh" "$@"
|
||||
|
||||
python /a0/prepare.py --dockerized=true
|
||||
python /a0/preload.py --dockerized=true
|
||||
# python /a0/preload.py --dockerized=true # no need to run preload if it's done during container build
|
||||
|
||||
echo "Starting A0..."
|
||||
exec python /a0/run_ui.py \
|
||||
|
|
|
|||
|
|
@ -42,9 +42,9 @@ async def preload():
|
|||
# async tasks to preload
|
||||
tasks = [
|
||||
preload_embedding(),
|
||||
# preload_whisper(),
|
||||
# preload_kokoro()
|
||||
] # no longer preload kokoro and whisper, do it JIT
|
||||
preload_whisper(),
|
||||
preload_kokoro()
|
||||
]
|
||||
|
||||
await asyncio.gather(*tasks, return_exceptions=True)
|
||||
PrintStyle().print("Preload completed")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue