onlyrickroll commited on
Commit
0ab69f5
·
verified ·
1 Parent(s): c35bfc7

Update entrypoint.sh

Browse files
Files changed (1) hide show
  1. entrypoint.sh +10 -9
entrypoint.sh CHANGED
@@ -53,6 +53,16 @@ cat <<EOF > ~/.nanobot/config.json
53
  }
54
  EOF
55
 
 
 
 
 
 
 
 
 
 
 
56
  # 下载草稿模型 (建议用 Qwen2.5-1.5B-Instruct-GGUF 的 Q4_K_M 版本)
57
  echo "Downloading model..."
58
  python3 -c "from huggingface_hub import hf_hub_download; \
@@ -68,15 +78,6 @@ echo "Downloading model..."
68
  #sleep 40
69
  #date
70
  #echo "Current nanobot version: $(pip show nanobot)"
71
- sh /app/test.sh
72
- #curl -I https://discord.com
73
-
74
- echo "Starting Python bot on port 8888..."
75
- ~/.local/bin/nanobot gateway -p 8888 &
76
-
77
-
78
- ~/.local/bin/nanobot status
79
- #~/.local/bin/nanobot --help
80
 
81
 
82
  # 4. 启动 Nginx 作为主进程 (监听 7860)
 
53
  }
54
  EOF
55
 
56
+ sh /app/test.sh
57
+ #curl -I https://discord.com
58
+
59
+ echo "Starting Python bot on port 8888..."
60
+ ~/.local/bin/nanobot gateway -p 8888 &
61
+
62
+
63
+ ~/.local/bin/nanobot status
64
+ #~/.local/bin/nanobot --help
65
+
66
  # 下载草稿模型 (建议用 Qwen2.5-1.5B-Instruct-GGUF 的 Q4_K_M 版本)
67
  echo "Downloading model..."
68
  python3 -c "from huggingface_hub import hf_hub_download; \
 
78
  #sleep 40
79
  #date
80
  #echo "Current nanobot version: $(pip show nanobot)"
 
 
 
 
 
 
 
 
 
81
 
82
 
83
  # 4. 启动 Nginx 作为主进程 (监听 7860)