ReNoise-Inversion icon indicating copy to clipboard operation
ReNoise-Inversion copied to clipboard

usage snippet

Open yossilevii100 opened this issue 1 year ago • 0 comments

Hi, thanks for the provided code. The usage code snippet yields errors if I ran it as is. The corrections are easy, you can add the following three lines.

from PIL import Image
import torch
device = "cuda" if torch.cuda.is_available() else "cpu"

Hope it helps and help others.

yossilevii100 avatar Feb 04 '25 17:02 yossilevii100