title: Unable to serve an mlflow model locally
body: <p>I have created an mlflow model with custom pyfunc. It shows the results when I send input to the loaded model in Jupyter notebook.
  However if I am trying to serve it to a local port</p>
  <pre><code>!mlflow models serve -m Home/miniconda3/envs/mlruns/0/baa40963927a49258c845421e3175c06/artifacts/model -p 8001
  </code></pre>
  <p>I am getting this error</p>
  <pre><code> Traceback (most recent call last):
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/bin/mlflow&quot;, line 10, in &lt;module&gt;
      sys.exit(cli())
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 829, in __call__
      return self.main(*args, **kwargs)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 782, in main
      rv = self.invoke(ctx)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 1259, in invoke
      return _process_result(sub_ctx.command.invoke(sub_ctx))
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 1259, in invoke
      return _process_result(sub_ctx.command.invoke(sub_ctx))
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 1066, in invoke
      return ctx.invoke(self.callback, **ctx.params)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/click/core.py&quot;, line 610, in invoke
      return callback(*args, **kwargs)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/models/cli.py&quot;, line 56, in serve
      install_mlflow=install_mlflow).serve(model_uri=model_uri, port=port,
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/models/cli.py&quot;, line 163, in _get_flavor_backend
      append_to_uri_path(underlying_model_uri, &quot;MLmodel&quot;), output_path=tmp.path())
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/tracking/artifact_utils.py&quot;, line 76, in _download_artifact_from_uri
      artifact_path=artifact_path, dst_path=output_path)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/store/artifact/local_artifact_repo.py&quot;, line 67, in download_artifacts
      return super(LocalArtifactRepository, self).download_artifacts(artifact_path, dst_path)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/store/artifact/artifact_repo.py&quot;, line 140, in download_artifacts
      return download_file(artifact_path)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/store/artifact/artifact_repo.py&quot;, line 105, in download_file
      self._download_file(remote_file_path=fullpath, local_path=local_file_path)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/site-packages/mlflow/store/artifact/local_artifact_repo.py&quot;, line 95, in _download_file
      shutil.copyfile(remote_file_path, local_path)
    File &quot;/home/subhojyoti/miniconda3/envs/python3-env/lib/python3.6/shutil.py&quot;, line 120, in copyfile
      with open(src, 'rb') as fsrc:
  FileNotFoundError: [Errno 2] No such file or directory: 'Home/miniconda3/envs/mlruns/0/baa40963927a49258c845421e3175c06/artifacts/model/MLmodel'
  </code></pre>