from aura_sr import AuraSR aura_sr = AuraSR.from_pretrained("fal-ai/AuraSR") import requests from io import BytesIO from PIL import Image filename = "photo_2024-07-16_12-49-37.jpg" with Image.open(filename) as img: img.load() upscaled_img = aura_sr.upscale_4x(img) img.show()