Now, let's load an image.
thon
from PIL import Image
import requests
url = "https://huggingface.co/datasets/huggingface/documentation-images/resolve/main/transformers/tasks/cat.jpg"
image = Image.open(requests.get(url, stream=True).raw)
print(image.size)
bash
(532, 432)

We can now do inference with the pipeline. We will get an upscaled version of the cat image. 
python
upscaled = pipe(image)
print(upscaled.size)
```bash
(1072, 880)