This message was deleted.
# ask-for-help
s
This message was deleted.
🏁 1
💾 1
a
Hi there, wdym by
signal
?
m
Hi, I have two runners in the service script and now I want to build bento
bento build
using
bentofile.yaml
, it is possible to have one yaml file for two different models. Here's what I am doing in `service.py`:
Copy code
# Get sklearn model references and create runners
runner = bentoml.models.get('mlzoomcamp_homework:qtzdz3slg6mwwdu5').to_runner()
runner2 = bentoml.models.get('mlzoomcamp_homework:jsi67fslz6txydu5').to_runner()


# Create bentoml service
svc = bentoml.Service('cool_classifier', runners=[runner, runner2])
Perhaps I should come back with more context when I'll be on pc again.
s
The bentofile shouldn't need to reference runners at all, I think, so you should be able to use your current one without changes.
m
I see. Thank you!
I just say there's a typo lol