fix: skip glm model downloads (#322)
Signed-off-by: Michele Dolfi <dol@zurich.ibm.com>
This commit is contained in:
parent
2c0c439a44
commit
c9341bf22e
@ -43,6 +43,7 @@ class GlmModel:
|
|||||||
def __init__(self, options: GlmOptions):
|
def __init__(self, options: GlmOptions):
|
||||||
self.options = options
|
self.options = options
|
||||||
|
|
||||||
|
if self.options.model_names != "":
|
||||||
load_pretrained_nlp_models()
|
load_pretrained_nlp_models()
|
||||||
self.model = init_nlp_model(model_names=self.options.model_names)
|
self.model = init_nlp_model(model_names=self.options.model_names)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user