private-model / entrypoint.sh
ACCC1380's picture
Upload entrypoint.sh with huggingface_hub
987bbd9 verified
#!/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 "$@"