Spaces:
Runtime error
Runtime error
Gagan Bhatia
commited on
Commit
·
b9c4669
1
Parent(s):
12e64e3
Update model.py
Browse files- src/models/model.py +1 -1
src/models/model.py
CHANGED
@@ -361,7 +361,7 @@ class Summarization:
|
|
361 |
trainer.fit(self.T5Model, self.data_module)
|
362 |
|
363 |
def load_model(
|
364 |
-
self, model_type: str = 't5', model_dir: str = "
|
365 |
):
|
366 |
"""
|
367 |
loads a checkpoint for inferencing/prediction
|
|
|
361 |
trainer.fit(self.T5Model, self.data_module)
|
362 |
|
363 |
def load_model(
|
364 |
+
self, model_type: str = 't5', model_dir: str = "models", use_gpu: bool = False
|
365 |
):
|
366 |
"""
|
367 |
loads a checkpoint for inferencing/prediction
|