Hanhaoniao / entrypoint.sh
hanhaoniao1115's picture
Upload 172 files
911fcc1 verified
raw
history blame contribute delete
171 Bytes
#!/bin/bash
CUDA_ENABLED=${CUDA_ENABLED:-true}
DEVICE=""
if [ "${CUDA_ENABLED}" != "true" ]; then
DEVICE="--device cpu"
fi
exec python tools/run_webui.py ${DEVICE}