Spaces:
Runtime error
Runtime error
File size: 284 Bytes
bf739d6 ab8282d bf739d6 b56e982 2d023c2 b56e982 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 |
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() |