Skip to content

Commit

Permalink
fix(api): correctly create model path
Browse files Browse the repository at this point in the history
  • Loading branch information
ssube committed Feb 1, 2023
1 parent 6c22cb1 commit f302be7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/onnx_web/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ def main() -> int:
args = parser.parse_args()
logger.info('CLI arguments: %s', args)

if path.exists(model_path):
if not path.exists(model_path):
logger.info('Model path does not existing, creating: %s', model_path)
makedirs(model_path)

Expand Down

0 comments on commit f302be7

Please sign in to comment.