Update handler.py
Browse files- handler.py +2 -1
handler.py
CHANGED
@@ -1,3 +1,4 @@
|
|
|
|
1 |
import torch
|
2 |
import speechbrain as sb
|
3 |
|
@@ -85,7 +86,7 @@ from pretrained import PipelineSLUTask
|
|
85 |
|
86 |
class EndpointHandler():
|
87 |
def __init__(self, path=""):
|
88 |
-
hparams_file = f"{path}/direct-train.yaml"
|
89 |
overrides = {}
|
90 |
with open(hparams_file) as fin:
|
91 |
hparams = load_hyperpyyaml(fin, overrides)
|
|
|
1 |
+
|
2 |
import torch
|
3 |
import speechbrain as sb
|
4 |
|
|
|
86 |
|
87 |
class EndpointHandler():
|
88 |
def __init__(self, path=""):
|
89 |
+
hparams_file = f"{path}/better_tokenizer/1986/direct-train.yaml"
|
90 |
overrides = {}
|
91 |
with open(hparams_file) as fin:
|
92 |
hparams = load_hyperpyyaml(fin, overrides)
|