private-model / entrypoint.sh
ACCC1380's picture
Upload entrypoint.sh with huggingface_hub
987bbd9 verified
raw
history blame
219 Bytes
#!/bin/bash
if [[ -x "/init.sh" ]]; then
/init.sh
fi
. "${DL_ANACONDA_HOME}/etc/profile.d/conda.sh"
if [[ "${ENABLE_MULTI_ENV,,}" == 'true' ]]; then
conda activate jupyterlab
else
conda activate base
fi
exec "$@"