Hello @sevin91580
Actually, the thing is, I know the exact issue, I have been trying for the past 3 days, but unable to solve it.
Iโm following one of the popular course on YouTube, โMLOps with Databricksโ (https://www.youtube.com/watch?v=Rt8qtjskuSs&t=754s
).
Currently, Iโm on Lecture 6. I havenโt modified any part of the code that the instructors uploaded to their GitHub. In the tutorial, they were able to successfully serve the endpoint, but with the exact same code, Iโm encountering a directory issue, which is quite strange.
To give you a quick recap, Iโve consolidated the code into a single file for clarity. Using the Iris dataset as an example, I first create a basic model with the scikit-learn flavor. Then, I create a PyFunc wrapper from the registered model and, finally, attempt to serve the wrapper model as an endpoint.
https://github.com/musabanees/marvel-characters_mlops/blob/main/notebooks/demo_project.py
I would appreciate it if you look at this.