Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -6,7 +6,7 @@ from io import BytesIO
|
|
6 |
|
7 |
class EndpointHandler():
|
8 |
def __init__(self, path=""):
|
9 |
-
self.upscaler = UpscaleWithModel.from_pretrained("
|
10 |
|
11 |
def __call__(self, data):
|
12 |
img = data.pop("inputs", data)
|
|
|
6 |
|
7 |
class EndpointHandler():
|
8 |
def __init__(self, path=""):
|
9 |
+
self.upscaler = UpscaleWithModel.from_pretrained("OzzyGT/DAT_X2").to("cuda")
|
10 |
|
11 |
def __call__(self, data):
|
12 |
img = data.pop("inputs", data)
|