bucket-testing / start.sh
malteos
bucket name via env
5ee9649 unverified
raw
history blame contribute delete
231 Bytes
#!/bin/bash
echo $HF_BUCKET
echo $HF_TOKEN
hf-mount --version
hf-mount status
mkdir -p ./data
hf-mount start --hf-token $HF_TOKEN --read-only bucket $HF_BUCKET ./data
hf-mount status
uvicorn app:app --host 0.0.0.0 --port 7860