if [ "${RUN_MODE}" = "OPTIMIZED" ] ; then
echo "Running OPTIMIZED mode"
RUN_ARGS="--gfpgan-cpu --esrgan-cpu --optimized"
elif [ "${RUN_MODE}" = "OPTIMIZED-TURBO" ] ; then
echo "Running OPTIMIZED-TURBO mode"
RUN_ARGS="--gfpgan-cpu --esrgan-cpu --optimized-turbo"
elif [ "${RUN_MODE}" = "GTX16" ] ; then
echo "Running GTX16 mode"
RUN_ARGS="--precision full --no-half --gfpgan-cpu --esrgan-cpu --optimized"
elif [ "${RUN_MODE}" = "GTX16-TURBO" ] ; then
echo "Running GTX16-TURBO mode"
RUN_ARGS="--precision full --no-half --gfpgan-cpu --esrgan-cpu --optimized-turbo"
elif [ "${RUN_MODE}" = "FULL-PRECISION" ] ; then
echo "Running FULL-PRECISION mode"
RUN_ARGS="--precision full --precision=full --no-half"
else
echo "Running default mode"
fi