mao123qw commited on
Commit
7d315e6
·
verified ·
1 Parent(s): ad3238a

Update sync_data.sh

Browse files
Files changed (1) hide show
  1. sync_data.sh +2 -2
sync_data.sh CHANGED
@@ -6,8 +6,8 @@ if [ -z "$HF_TOKEN" ] || [ -z "$DATASET_ID" ]; then
6
  exit 1
7
  fi
8
 
9
- # 激活虚拟环境
10
- source /home/app/venv/bin/activate
11
 
12
  # 上传备份
13
  cat > /home/app/hf_sync.py << 'EOL'
 
6
  exit 1
7
  fi
8
 
9
+ apt-get install -y pip3
10
+ pip3 install huggingface_hub
11
 
12
  # 上传备份
13
  cat > /home/app/hf_sync.py << 'EOL'