Spaces:
Sleeping
Sleeping
Amlan-109
feat: Initial commit of LocalAI Amlan Edition with premium branding and personalization
750bbe6 Download backend/python/transformers/run.sh from Davex256/LocalAI-Amlan-Edition: direct link, hf CLI and curl.
- Browser
- Download file 371 Bytes
-
https://huggingface.co/spaces/Davex256/LocalAI-Amlan-Edition/resolve/main/backend/python/transformers/run.sh
- Command line
-
hf download hf://spaces/Davex256/LocalAI-Amlan-Edition/backend/python/transformers/run.sh
-
curl -L -o run.sh https://huggingface.co/spaces/Davex256/LocalAI-Amlan-Edition/resolve/main/backend/python/transformers/run.sh
371 Bytes
| backend_dir=$(dirname $0) | |
| if [ -d $backend_dir/common ]; then | |
| source $backend_dir/common/libbackend.sh | |
| else | |
| source $backend_dir/../common/libbackend.sh | |
| fi | |
| if [ -d "/opt/intel" ]; then | |
| # Assumes we are using the Intel oneAPI container image | |
| # https://github.com/intel/intel-extension-for-pytorch/issues/538 | |
| export XPU=1 | |
| fi | |
| startBackend $@ |