Gendle commited on
Commit
6e4644e
·
verified ·
1 Parent(s): 6122384

Upload entrypoint.sh with huggingface_hub

Browse files
Files changed (1) hide show
  1. entrypoint.sh +2 -2
entrypoint.sh CHANGED
@@ -687,8 +687,8 @@ if [ -n "$GEMINI_API_KEY" ]; then
687
  TEMP_SKILLS_DIR="/tmp/baoyu-skills-download"
688
  rm -rf "$TEMP_SKILLS_DIR"
689
  if git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git "$TEMP_SKILLS_DIR" 2>/dev/null; then
690
- if [ -f "${TEMP_SKILLS_DIR}/skills/baoyu-imagine/scripts/main.ts" ]; then
691
- cp -r "${TEMP_SKILLS_DIR}/skills/baoyu-imagine/scripts/" "${SKILL_IMAGINE_DIR}/"
692
  echo " ✅ 运行时下载成功(原始完整版本)"
693
  else
694
  echo " ❌ 下载的仓库中找不到 main.ts"
 
687
  TEMP_SKILLS_DIR="/tmp/baoyu-skills-download"
688
  rm -rf "$TEMP_SKILLS_DIR"
689
  if git clone --depth 1 https://github.com/JimLiu/baoyu-skills.git "$TEMP_SKILLS_DIR" 2>/dev/null; then
690
+ if [ -f "${TEMP_SKILLS_DIR}/skills/baoyu-image-gen/scripts/main.ts" ]; then
691
+ cp -r "${TEMP_SKILLS_DIR}/skills/baoyu-image-gen/scripts/" "${SKILL_IMAGINE_DIR}/"
692
  echo " ✅ 运行时下载成功(原始完整版本)"
693
  else
694
  echo " ❌ 下载的仓库中找不到 main.ts"