Ninja Setup help

I am trying to create a fork of TADNE - a Hugging Face Space by hysts

At first I got an error that ninja was not installed, but when I added ninja to my requirements.txt I am now getting the error

OSError: CUDA_HOME environment variable is not set. Please set it to your CUDA install root.

Any ideas on how to fix this?

thanks!