Skip to content

Commit 3f80b1c

Browse files
committed
try fix test error
1 parent 0cf8847 commit 3f80b1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/make_api/app/main.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@
1313

1414

1515
@lru_cache
16-
def get_model():
16+
def get_model(model_uri):
1717
return mlflow.sklearn.load_model(model_uri)
1818

1919

20-
pipe = get_model()
20+
pipe = get_model(model_uri)
2121

2222
app = FastAPI()
2323

0 commit comments

Comments
 (0)