Spaces:
Running on Zero

rootxhacker's picture
Reword hero and description
8457094 verified
|
Raw History Blame Contribute Delete
663 Bytes
# TrustMark weights for the Space
`trustmark_Q.yaml` is tracked; the two `.ckpt` files are gitignored (64 MB) but required in the
deployed Space (its network can't reach TrustMark's download host). Before deploying, copy them from
a machine where the `trustmark` pip package has run once:
```
python -c "import trustmark, os; print(os.path.join(os.path.dirname(trustmark.__file__), 'models'))"
cp <that dir>/encoder_Q.ckpt <that dir>/decoder_Q.ckpt space_image/trustmark_models/
```
`app.py` copies everything in this folder into the installed trustmark package at startup; its
`check_and_download` verifies the MD5s and then skips its (unreachable) download.