blacked
This commit is contained in:
parent
1e5da128f1
commit
8a1df76078
@ -27,9 +27,7 @@ class Predictor:
|
||||
"""
|
||||
try:
|
||||
if model_handle is None:
|
||||
reader = MlflowModelReader(
|
||||
run_id=CONFIG.service.run_id, mlruns_dir=MLRUNS_DIR
|
||||
)
|
||||
reader = MlflowModelReader(run_id=CONFIG.service.run_id, mlruns_dir=MLRUNS_DIR)
|
||||
self.model_handle = reader.get_model_handle(BASE_WEIGHTS)
|
||||
else:
|
||||
self.model_handle = model_handle
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user