Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -3,6 +3,7 @@ import requests
|
|
3 |
from PIL import Image
|
4 |
import os
|
5 |
import torch
|
|
|
6 |
from transformers import AutoImageProcessor, Swin2SRForImageSuperResolution
|
7 |
|
8 |
torch.hub.download_url_to_file('https://huggingface.co/spaces/jjourney1125/swin2sr/resolve/main/samples/00003.jpg', '00003.jpg')
|
|
|
3 |
from PIL import Image
|
4 |
import os
|
5 |
import torch
|
6 |
+
import numpy as np
|
7 |
from transformers import AutoImageProcessor, Swin2SRForImageSuperResolution
|
8 |
|
9 |
torch.hub.download_url_to_file('https://huggingface.co/spaces/jjourney1125/swin2sr/resolve/main/samples/00003.jpg', '00003.jpg')
|