Some checks failed
Close inactive issues / close-issues (push) Has been cancelled
11 lines
171 B
Bash
11 lines
171 B
Bash
#!/bin/bash
|
|
|
|
CUDA_ENABLED=${CUDA_ENABLED:-true}
|
|
DEVICE=""
|
|
|
|
if [ "${CUDA_ENABLED}" != "true" ]; then
|
|
DEVICE="--device cpu"
|
|
fi
|
|
|
|
exec python tools/run_webui.py ${DEVICE}
|