Serkan Ozturk
commited on
Commit
·
0f72f6f
1
Parent(s):
4c09631
sdfagsfd
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -4,7 +4,7 @@ import numpy as np
|
|
| 4 |
import torch.nn.functional as F
|
| 5 |
|
| 6 |
class EndpointHandler():
|
| 7 |
-
def __init__(self, path="."):
|
| 8 |
# load the optimized model
|
| 9 |
self.model = torch.load(path)
|
| 10 |
|
|
|
|
| 4 |
import torch.nn.functional as F
|
| 5 |
|
| 6 |
class EndpointHandler():
|
| 7 |
+
def __init__(self, path="FiveK.pth"):
|
| 8 |
# load the optimized model
|
| 9 |
self.model = torch.load(path)
|
| 10 |
|