mirror of
https://github.com/clearml/clearml-serving
synced 2025-02-07 05:18:12 +00:00
Fix FileType usage
This commit is contained in:
parent
34d435714f
commit
3287e4e4ad
@ -127,7 +127,7 @@ def cli(verbosity):
|
||||
help='Serving endpoint, support multiple versions, '
|
||||
'max versions to deploy (version number always increase). Default (no versioning).')
|
||||
parser_trt.add_argument(
|
||||
'--config', required=False, type=FileType,
|
||||
'--config', required=False, type=FileType('r'),
|
||||
help='Model `config.pbtxt` file, one per model, order matching with models')
|
||||
parser_trt.add_argument(
|
||||
'--model-id', type=str,
|
||||
|
Loading…
Reference in New Issue
Block a user