Skip to content

Commit

Permalink
revert: lazy
Browse files Browse the repository at this point in the history
Signed-off-by: Aaron Pham <29749331+aarnphm@users.noreply.github.com>
  • Loading branch information
aarnphm committed Aug 26, 2022
1 parent 24e44f7 commit 02df3af
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bentoml/_internal/frameworks/mlflow.py
Expand Up @@ -4,6 +4,7 @@
import shutil
import typing as t
import logging
import tempfile
from typing import TYPE_CHECKING

import bentoml
Expand Down Expand Up @@ -185,8 +186,6 @@ def import_model(
metadata=metadata,
context=context,
) as bento_model:
import tempfile

from mlflow.models import Model as MLflowModel
from mlflow.pyfunc import FLAVOR_NAME as PYFUNC_FLAVOR_NAME
from mlflow.models.model import MLMODEL_FILE_NAME
Expand Down

0 comments on commit 02df3af

Please sign in to comment.