preload adjustments

frdel committed Jul 15, 2025 at 22:49 UTC b823cc17dadbe2340394bea54d93c3dd7300ea7a
2 files changed +4 -4
docker/run/fs/exe/run_A0.sh
+1 -1
@@ -4,7 +4,7 @@
4 . "/ins/copy_A0.sh" "$@"
5
6 python /a0/prepare.py --dockerized=true
7 -python /a0/preload.py --dockerized=true
7 +# python /a0/preload.py --dockerized=true # no need to run preload if it's done during container build
8
9 echo "Starting A0..."
10 exec python /a0/run_ui.py \
preload.py
+3 -3
@@ -42,9 +42,9 @@ async def preload():
42 # async tasks to preload
43 tasks = [
44 preload_embedding(),
45 - # preload_whisper(),
46 - # preload_kokoro()
47 - ] # no longer preload kokoro and whisper, do it JIT
45 + preload_whisper(),
46 + preload_kokoro()
47 + ]
48
49 await asyncio.gather(*tasks, return_exceptions=True)
50 PrintStyle().print("Preload completed")