Spaces:
Runtime error
Runtime error
NataLobster
commited on
Update app.py
Browse files
app.py
CHANGED
@@ -7,8 +7,8 @@ from io import BytesIO
|
|
7 |
from PIL import Image
|
8 |
|
9 |
filename = "photo_2024-07-16_12-49-37.jpg"
|
10 |
-
|
11 |
-
|
12 |
|
13 |
upscaled_img = aura_sr.upscale_4x(img)
|
14 |
|
|
|
7 |
from PIL import Image
|
8 |
|
9 |
filename = "photo_2024-07-16_12-49-37.jpg"
|
10 |
+
with Image.open(filename) as img:
|
11 |
+
img.load()
|
12 |
|
13 |
upscaled_img = aura_sr.upscale_4x(img)
|
14 |
|