sergeipetrov
commited on
Update handler.py
Browse files- handler.py +1 -0
handler.py
CHANGED
@@ -3,6 +3,7 @@ from transformers import AutoImageProcessor, Swin2SRForImageSuperResolution
|
|
3 |
import torch
|
4 |
import base64
|
5 |
import logging
|
|
|
6 |
from PIL import Image
|
7 |
from io import BytesIO
|
8 |
|
|
|
3 |
import torch
|
4 |
import base64
|
5 |
import logging
|
6 |
+
import numpy as np
|
7 |
from PIL import Image
|
8 |
from io import BytesIO
|
9 |
|