My Hugging Face Space keep starting

Here is some new information. My log output shows:

===== Application Startup at 2026-03-25 13:50:08 =====

==== [Step 1] 脚本开始执行 ====
/usr/local/lib/python3.12/site-packages/jieba/_compat.py:18: UserWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html. The pkg_resources package is slated for removal as early as 2025-11-30. Refrain from using this package or pin to Setuptools<81.
  import pkg_resources
NiceGUI ready to go on http://localhost:7860, and http://10.108.61.149:7860
[Counter] 同步成功!搜索:13793, 成功交互:10372, 复制:2385, bad_cases:4
==== [System] 开始预热计数器与引擎 ====
[Counter] 初始化完成(hf):搜索=13793, 访问=23932, 复制=2385
[platform_utils] 使用 HuggingFace Hub 模型: BAAI/bge-m3
[Engine] 云端环境 (hf),开始拉取数据文件...
[Engine] 云端数据文件拉取完毕。
[Engine] 加载缓存 (tags_embedding) ...
[Engine] 加载模型 (path=BAAI/bge-m3, device=cpu)...
Loading weights:   0%|          | 0/391 [00:00<?, ?it/s]
Loading weights: 100%|██████████| 391/391 [00:00<00:00, 15207.60it/s]
[Engine] 检查增量变更...
Current columns: ['name', 'cn_name', 'wiki', 'post_count', 'category', 'nsfw']
[Engine] 数据已是最新,无需更新。
Building prefix dict from the default dictionary ...
Dumping model to file cache /tmp/jieba.cache
Loading model cost 0.744 seconds.
Prefix dict has been built successfully.
[Engine] 加载共现表 (cooccurrence_clean.parquet)...
[Engine] 共现表加载完成,27,527 个 tag,耗时 2.47s
[Engine] 初始化完成,耗时 37.70s
==== [System] 后台预热全部完成! ====

Everything looks perfectly normal. Moreover, when I access the direct link https://huggingface.co/proxy/sakizuki-danboorusearch.hf.space/, it works perfectly fine.

I read the post HF Space stuck at Starting - #2 by John6666 and followed the steps to check:

  1. Step 1 – Fix host and port in your app code: No issues with this step.
  2. Step 2 – If Docker: align app_port, EXPOSE, and CMD: The corresponding content is already in the readme and dockerfile.
  3. Step 3 – Ensure / returns something (for non-Gradio apps): Local verification is perfectly normal.
  4. Step 4 – Check for silent crashes and permission issues: Full logs have been obtained and everything looks fine.
1 Like