Text artifact not found #2138
Unanswered
zfallahnejad
asked this question in
Q&A
Replies: 1 comment
-
hello @zfallahnejad Thank you for raising the question. I am sorry about the late respond For the text artifact, you will need to send the content of the txt file to pack instead of the file path to the content. For example:
Let me know does this help you. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I want to add a text artifact to my service. I successfully packaged the file and created the bundle. When I try to serve the bundle, I get an error message saying that the file is not found! This problem only happened with text artifacts, as my sklearn model worked properly. Do you know what the problem is? The version of bentoml I'm using is 0.13.1.
bentoml_packer.py:
ml_server.py:
docker-compose.yml:
Docker compose log:
Beta Was this translation helpful? Give feedback.
All reactions