sergeipetrov
commited on
Commit
•
0b005f7
1
Parent(s):
52bddc6
Update handler.py
Browse files- handler.py +1 -1
handler.py
CHANGED
@@ -7,7 +7,7 @@ import base64
|
|
7 |
|
8 |
class EndpointHandler():
|
9 |
def __init__(self, path=""):
|
10 |
-
self.upscaler = UpscaleWithModel.from_pretrained("OzzyGT/
|
11 |
|
12 |
def __call__(self, data):
|
13 |
img = data.pop("inputs", data)
|
|
|
7 |
|
8 |
class EndpointHandler():
|
9 |
def __init__(self, path=""):
|
10 |
+
self.upscaler = UpscaleWithModel.from_pretrained("OzzyGT/DAT_X4").to("cuda")
|
11 |
|
12 |
def __call__(self, data):
|
13 |
img = data.pop("inputs", data)
|