I commented out the following from requirements.txt:
#torch==1.12.1+cu113
#torchaudio==0.12.1+cu113
#torchvision==0.13.1+cu113
Run the terminal commands from the Conda terminal:conda install pytorch==1.12.0 torchvision==0.13.0 torchaudio==0.12.0 cudatoolkit=11.3 -c pytorch
py -m pip install –upgrade pip
pip install -r requirements.txt
pip install customtkinter diffusers transformers ftfy
python app.py