ddemszky
commited on
Commit
·
8c699d3
1
Parent(s):
6721c85
changed path
Browse files- handler.py +1 -1
handler.py
CHANGED
|
@@ -197,7 +197,7 @@ class UptakeModel:
|
|
| 197 |
|
| 198 |
|
| 199 |
class EndpointHandler():
|
| 200 |
-
def __init__(self):
|
| 201 |
print("Loading models...")
|
| 202 |
self.device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 203 |
self.tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
|
|
|
|
| 197 |
|
| 198 |
|
| 199 |
class EndpointHandler():
|
| 200 |
+
def __init__(self, , path="."):
|
| 201 |
print("Loading models...")
|
| 202 |
self.device = "cuda" if torch.cuda.is_available() else "cpu"
|
| 203 |
self.tokenizer = BertTokenizer.from_pretrained("bert-base-uncased")
|