Spaces:
Runtime error
Runtime error
bhadresh-savani
commited on
Commit
•
3761b39
1
Parent(s):
2ff549f
Update app.py
Browse files
app.py
CHANGED
@@ -13,7 +13,7 @@ def predict_fn(img):
|
|
13 |
|
14 |
transform = Compose(
|
15 |
[
|
16 |
-
Resize((
|
17 |
ToTensor(),
|
18 |
Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
19 |
]
|
|
|
13 |
|
14 |
transform = Compose(
|
15 |
[
|
16 |
+
Resize((1024, 1024), Image.BICUBIC),
|
17 |
ToTensor(),
|
18 |
Normalize((0.5, 0.5, 0.5), (0.5, 0.5, 0.5)),
|
19 |
]
|