File size: 362 Bytes
50657ac
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/usr/bin/env bash
set -euo pipefail

SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"

if ! command -v python3 >/dev/null 2>&1; then
  apt-get update
  apt-get install -y python3 python3-pip
fi

python3 -m pip install --break-system-packages \
  "duckdb==1.3.2" \
  "huggingface-hub>=0.31.4,<2"

exec python3 "${SCRIPT_DIR}/refresh_database.py" "$@"