Skip to content

Agent Zero AI framework

preload adjustments

frdelb823cc17dadb
diff --git a/docker/run/fs/exe/run_A0.sh b/docker/run/fs/exe/run_A0.sh
index 41b4b1906..b0d1fec50 100644
--- a/docker/run/fs/exe/run_A0.sh
+++ b/docker/run/fs/exe/run_A0.sh
@@ -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 \
diff --git a/preload.py b/preload.py
index 4da2a05dc..22c48f234 100644
--- a/preload.py
+++ b/preload.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")