sergeipetrov commited on
Commit
98fcb20
·
verified ·
1 Parent(s): 961158d

Update handler.py

Browse files
Files changed (1) hide show
  1. 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("DAT_x3.pth").to("cuda")
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)