File tree Expand file tree Collapse file tree 1 file changed +9
-7
lines changed
Expand file tree Collapse file tree 1 file changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -425,14 +425,16 @@ def main():
425425 output_path = opt ['--output_path' ]
426426 send_xdd = opt ['--send_xdd' ]
427427
428- # /models directory is a mounted volume, containing the model object
429- models = os .listdir ("/models" )
430- models = [f for f in models if f .endswith (".joblib" )]
428+ # # /models directory is a mounted volume, containing the model object
429+ # models = os.listdir("/models")
430+ # models = [f for f in models if f.endswith(".joblib")]
431431
432- if models :
433- model_path = os .path .join ("/models" , models [0 ])
434- else :
435- model_path = ""
432+ # if models:
433+ # model_path = os.path.join("/models", models[0])
434+ # else:
435+ # model_path = ""
436+
437+ model_path = opt ['--model_path' ]
436438
437439 metadata_df = crossref_extract (doi_list_file_path )
438440
You can’t perform that action at this time.
0 commit comments